esphome-tw7100/example.yaml
2024-09-15 20:25:34 +02:00

39 lines
626 B
YAML

external_components:
- source:
type: local
path: external_components
components:
- tw7100
tw7100:
uart_id: uart_bus
uart:
id: uart_bus
tx_pin: 15
rx_pin: 13
baud_rate: 9600
binary_sensor:
- platform: tw7100
signal_detected:
name: "Signal"
power:
name: "Powered"
sensor:
- platform: tw7100
hours:
name: "Projector lamp hours"
power:
name: "Projector power status"
state:
name: "Projector signal status"
illuminance:
name: "Projector luminance level"
text_sensor:
- platform: tw7100
serial:
name: "Serial number"