Open Gloomyeye opened 3 months ago
I wrote an automation that only turns on the screen when assist is in progress, then turns it off a few seconds after assist is no longer in progress. Obviously not part of the firmware, but it's working great for me currently.
alias: Livingroom VA Backlight Control
description: ""
trigger:
- type: turned_on
platform: device
device_id: b40ca6e170336b7ca6a1c16e5e2e52ef
entity_id: 8709eca0e28b71f644c7576741401433
domain: binary_sensor
enabled: true
- type: turned_off
platform: device
device_id: b40ca6e170336b7ca6a1c16e5e2e52ef
entity_id: 8709eca0e28b71f644c7576741401433
domain: binary_sensor
enabled: true
condition: []
action:
- if:
- type: is_on
condition: device
device_id: b40ca6e170336b7ca6a1c16e5e2e52ef
entity_id: 8709eca0e28b71f644c7576741401433
domain: binary_sensor
then:
- type: turn_on
device_id: b40ca6e170336b7ca6a1c16e5e2e52ef
entity_id: a02e89b34cb689d6bad26e4db25a3b8e
domain: light
else:
- delay:
hours: 0
minutes: 0
seconds: 7
milliseconds: 0
- type: turn_off
device_id: b40ca6e170336b7ca6a1c16e5e2e52ef
entity_id: a02e89b34cb689d6bad26e4db25a3b8e
domain: light
mode: single
Thank you! I created with your template the following automation and this works so far great:
trigger:
- platform: state
entity_id:
- binary_sensor.esp32_s3_voice_assist_01_assist_in_use
to: "off"
for:
hours: 0
minutes: 0
seconds: 7
from: "on"
id: trigger_turn_off
- platform: state
entity_id:
- binary_sensor.esp32_s3_voice_assist_01_assist_in_use
to: "on"
for:
hours: 0
minutes: 0
seconds: 0
from: "off"
id: trigger_turn_on
condition: []
action:
- choose:
- conditions:
- condition: and
conditions:
- condition: trigger
id:
- trigger_turn_on
- condition: state
entity_id: light.esp32_s3_voice_assist_01_lcd_backlight
state: "off"
sequence:
- service: light.turn_on
metadata: {}
data: {}
target:
entity_id: light.esp32_s3_voice_assist_01_lcd_backlight
alias: "Trigger: TURN_ON"
- conditions:
- condition: and
conditions:
- condition: trigger
id:
- trigger_turn_off
- condition: state
entity_id: light.esp32_s3_voice_assist_01_lcd_backlight
state: "on"
sequence:
- service: light.turn_off
metadata: {}
data: {}
target:
entity_id: light.esp32_s3_voice_assist_01_lcd_backlight
alias: "Trigger: TURN_OFF"
mode: single
Hello,
it would be great if the screen of the ESP32-S3-Box-3 could be turned off after some time (e.g. 15 sec. after voice execution). In addition, if mute is active, the screen should be off, too.
I added this as an example to the config (marked my lines with "own"):
Maybe someone can add these features to the ESP32-S3-Box-3 firmware.