62 lines
2.1 KiB
YAML
62 lines
2.1 KiB
YAML
# ESPresence Sensing
|
|
# https://espresense.com/home_assistant
|
|
#
|
|
sensor:
|
|
- platform: mqtt_room
|
|
unique_id: !secret btb01_uID
|
|
device_id: !secret btb01_dID
|
|
name: !secret btb01_name
|
|
state_topic: !secret btb01_topic
|
|
timeout: 60
|
|
away_timeout: 120 # number of seconds after which the enitity will get status not_home
|
|
- platform: mqtt_room
|
|
unique_id: !secret btb02_uID
|
|
device_id: !secret btb02_dID
|
|
name: !secret btb02_name
|
|
state_topic: !secret btb02_topic
|
|
timeout: 60
|
|
away_timeout: 120 # number of seconds after which the enitity will get status not_home
|
|
- platform: mqtt_room
|
|
unique_id: !secret btb03_uID
|
|
device_id: !secret btb03_dID
|
|
name: !secret btb03_name
|
|
state_topic: !secret btb03_topic
|
|
timeout: 60
|
|
away_timeout: 120 # number of seconds after which the enitity will get status not_home
|
|
- platform: mqtt_room
|
|
unique_id: !secret btb04_uID
|
|
device_id: !secret btb04_dID
|
|
name: !secret btb04_name
|
|
state_topic: !secret btb04_topic
|
|
timeout: 60
|
|
away_timeout: 120 # number of seconds after which the enitity will get status not_home
|
|
- platform: mqtt_room
|
|
unique_id: !secret btb05_uID
|
|
device_id: !secret btb05_dID
|
|
name: !secret btb05_name
|
|
state_topic: !secret btb05_topic
|
|
timeout: 60
|
|
away_timeout: 120 # number of seconds after which the enitity will get status not_home
|
|
- platform: mqtt_room
|
|
unique_id: !secret btb06_uID
|
|
device_id: !secret btb06_dID
|
|
name: !secret btb06_name
|
|
state_topic: !secret btb06_topic
|
|
timeout: 60
|
|
away_timeout: 120 # number of seconds after which the enitity will get status not_home
|
|
- platform: mqtt_room
|
|
unique_id: !secret btb07_uID
|
|
device_id: !secret btb07_dID
|
|
name: !secret btb07_name
|
|
state_topic: !secret btb07_topic
|
|
timeout: 60
|
|
away_timeout: 120 # number of seconds after which the enitity will get status not_home
|
|
- platform: mqtt_room
|
|
unique_id: !secret btb08_uID
|
|
device_id: !secret btb08_dID
|
|
name: !secret btb08_name
|
|
state_topic: !secret btb08_topic
|
|
timeout: 60
|
|
away_timeout: 120 # number of seconds after which the enitity will get status not_home
|
|
|