The following is tile card.
I have a “Live Alarms” section where I want to make certain cards visible based on various state values.
I was able to successful use the visibility feature with states on/off, but I am not able to make a number comparison.
Anyone have any idea why this is not working (no errors messages):
type: tile
grid_options:
columns: full
visibility:
- condition: or
conditions:
- condition: state
entity: sensor.flrmr_emr_air_temp_1_lts
state: '{{ states("sensor.flrmr_emr_air_temp_1_lts") | float(0) > 85 }}'
- condition: state
entity: input_boolean.view_inactive_alarms
state: 'on'
entity: sensor.flrmr_emr_air_temp_1_lts
name: Room A Temperature
state_content:
- state
- last_changed
vertical: false
features_position: bottom