move dimmer and buzzer to main dimmer file

This commit is contained in:
pszafer
2024-05-20 09:07:31 +02:00
parent ea52b3d40e
commit 3ac8e38f75
5 changed files with 93 additions and 41 deletions

View File

@@ -1,10 +0,0 @@
switch:
- platform: gpio
id: buzzer
name: 'Buzzer'
pin:
pcf8574: pcf_inputs
number: 0
mode:
output: true
inverted: true

View File

@@ -1,19 +0,0 @@
#i2c address: 0x48 output lm75b temp
#LM75B
external_components:
- source: github://boneIO-eu/esphome-LM75@main #Original source and thank you note for BTomala https://github.com/boneIO-eu/esphome-lm75
components: [lm75]
sensor:
- platform: lm75
id: boneIO_temp
name: 'Temperature'
update_interval: 30s
entity_category: diagnostic
on_value_range:
- above: 70.0
then:
- switch.turn_on: buzzer
- below: 70.0
then:
- switch.turn_off: buzzer