mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
stop hating myself
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
media_player:
|
||||
- id: external_media_player
|
||||
platform: speaker
|
||||
|
||||
# Define the actions Home Assistant will call
|
||||
on_turn_on:
|
||||
- lambda: |-
|
||||
// No action needed, Home Assistant can call this service
|
||||
return;
|
||||
|
||||
on_turn_off:
|
||||
- lambda: |-
|
||||
// No action needed, Home Assistant can call this service
|
||||
return;
|
||||
@@ -0,0 +1,30 @@
|
||||
esphome:
|
||||
|
||||
api:
|
||||
reboot_timeout: 0s
|
||||
|
||||
substitutions:
|
||||
mqtt_root_topic: !secret mqtt_root_topic
|
||||
|
||||
mqtt:
|
||||
broker: !secret mqtt_broker
|
||||
port: !secret mqtt_port
|
||||
username: !secret mqtt_username
|
||||
password: !secret mqtt_password
|
||||
discover_ip: False
|
||||
discovery: false
|
||||
discovery_retain: false
|
||||
log_topic: null
|
||||
|
||||
topic_prefix: ${mqtt_root_topic}/${devicename}
|
||||
|
||||
# birth_message:
|
||||
# topic: ${mqtt_root_topic}/${devicename}/availability
|
||||
# payload: online
|
||||
# will_message:
|
||||
# topic: ${mqtt_root_topic}/${devicename}/availability
|
||||
# payload: offline
|
||||
|
||||
# shutdown_message:
|
||||
# topic: ${mqtt_root_topic}/${devicename}/availability
|
||||
# payload: shutdown
|
||||
@@ -0,0 +1,26 @@
|
||||
esphome:
|
||||
|
||||
api:
|
||||
reboot_timeout: 0s
|
||||
|
||||
substitutions:
|
||||
mqtt_root_topic: !secret mqtt_root_topic
|
||||
|
||||
mqtt:
|
||||
broker: !secret mqtt_broker
|
||||
port: !secret mqtt_port
|
||||
username: !secret mqtt_username
|
||||
password: !secret mqtt_password
|
||||
discover_ip: False
|
||||
discovery: false
|
||||
discovery_retain: false
|
||||
topic_prefix: null
|
||||
birth_message:
|
||||
topic: ${mqtt_root_topic}/${devicename}/availability
|
||||
payload: online
|
||||
will_message:
|
||||
topic: ${mqtt_root_topic}/${devicename}/availability
|
||||
payload: offline
|
||||
shutdown_message:
|
||||
topic: ${mqtt_root_topic}/${devicename}/availability
|
||||
payload: offline
|
||||
Reference in New Issue
Block a user