Hey, i want to have friendly_name of my switch taken from a template, similar to this:
- platform: command_line
switches:
my_switch:
unique_id: my_switch
friendly_name: "my switch {{ states('sensor.some_sensor_value') }}"
command_on: xxxxxx
command_off: yyyyyyy
command_state: zzzzzzzz
value_template: '{{ value == "1" }}'
Can this be done in any way?