mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-10-14 08:35:12 +02:00
Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3374ed6ad8 | ||
|
|
e5f9c5813e | ||
|
|
2b66f1a60d |
No files matched your search
+2
-2
@@ -148,10 +148,10 @@ media_player:
|
||||
buffer_size: 14000
|
||||
media_pipeline:
|
||||
speaker: media_spk_resampling_input
|
||||
format: NONE
|
||||
format: WAV # no PSRAM: HA transcodes to WAV, decoding MP3/FLAC here runs the heap out
|
||||
announcement_pipeline:
|
||||
speaker: announcement_spk_resampling_input
|
||||
format: NONE
|
||||
format: WAV # no PSRAM: HA transcodes to WAV, decoding MP3/FLAC here runs the heap out
|
||||
|
||||
rtttl:
|
||||
id: my_rtttl
|
||||
|
||||
@@ -63,6 +63,7 @@ esphome:
|
||||
esp32:
|
||||
variant: esp32s3
|
||||
flash_size: 16MB
|
||||
flash_frequency: 40MHz # the IDF 5.5.5 bootloader reads garbage from this flash (mfr 0x46) at 80MHz
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
advanced:
|
||||
|
||||
@@ -54,8 +54,18 @@ binary_sensor:
|
||||
entity_id: binary_sensor.zigbee_staircase_pir_occupancy
|
||||
on_state:
|
||||
if:
|
||||
condition:
|
||||
binary_sensor.is_off: motion
|
||||
condition: &no_motion
|
||||
and:
|
||||
- binary_sensor.is_off: motion
|
||||
- binary_sensor.is_off: motion_2
|
||||
then:
|
||||
- light.turn_off: light_relay
|
||||
- platform: homeassistant
|
||||
id: motion_2
|
||||
entity_id: binary_sensor.zigbee_staircase_2_pir_occupancy
|
||||
on_state:
|
||||
if:
|
||||
condition: *no_motion
|
||||
then:
|
||||
- light.turn_off: light_relay
|
||||
|
||||
|
||||
Reference in new issue
Block a user