Not sure if this is an already known issue, but the automation below is pretty simple:-
alias: Winter Mode - Auto switch based on temperature
description: ""
triggers:
- entity_id:
- sensor.sonoff_t_h_outside_temperature
trigger: state
conditions: []
actions:
- target:
entity_id: input_boolean.winter_mode_no_open_window_heat_shutoff
action: >-
input_boolean.turn_{{ iif(states('sensor.sonoff_t_h_outside_temperature')
|float (0) <=6,'on','off')}}
mode: single
It works fine, but if I use the visual editor and click on ‘perform an action based on a template’, the left hand side of the screen becomes narrower to make space for the item I’ve just clicked on to appear on the right, but it just shows black space.
I can still edit the automation fine using yaml for the whole automation, but yaml mode for just the action also just shows a black portion on the right hand side of the screen.