Skip to content

Sensor and light ​

1.0.0 · rockbaer2007 · Apache-2.0 · UGSo Blocks for HA ≥ 0.1.18

BlockFunction
Numeric sensor valueReads a sensor state as a number. Non-numeric states become 0.
Sensor above thresholdTests a numeric sensor state against a threshold. Unknown states do not pass.
Light with brightnessGenerates native light.turn_on with brightness_pct. Use 0–100; the light must support brightness.

Replace sample entities sensor.temperatur and light.wohnzimmer. HA evaluates Jinja. Package labels remain in their original German language. Import and limits.

Download ZIP · Download JSON

Paste code ​

Copy the code, select JSON prüfen and Übernehmen in the editor. Code and ZIP contain the same definition.