Skip to content

Instantly share code, notes, and snippets.

@jeffersonchaves
Created August 10, 2022 18:45
Show Gist options
  • Save jeffersonchaves/b2ef8da2f81aeaa376631dc425e6af0b to your computer and use it in GitHub Desktop.
Save jeffersonchaves/b2ef8da2f81aeaa376631dc425e6af0b to your computer and use it in GitHub Desktop.
# Loads default set of integrations. Do not remove.
default_config:
# Example configuration.yaml entry
light:
- platform: mqtt
name: "Lampada da Sala"
unique_id: ifpr_sala_lampada
state_topic: "ifpr/sala/lampada"
command_topic: "ifpr/sala/lampada"
payload_on: "ON"
payload_off: "OFF"
sensor:
- platform: mqtt
name: "Temperatura"
unique_id: ifpr_sala_temperatura
state_topic: "ifpr/sala/temperatura"
unit_of_measurement: "°C"
value_template: "{{ value_json.temperatura }}"
json_attributes_topic : "ifpr/sala/temperatura"
- platform: mqtt
name: "Umidade"
unique_id: ifpr_sala_umidade
state_topic: "ifpr/sala/umidade"
unit_of_measurement: "%"
value_template: "{{ value_json.umidade }}"
json_attributes_topic : "ifpr/sala/umidade"
notify me:
- platform: pushbullet
api_key: "o.fEwfoD9UAyUW0UxxgyCcRdZ35IPyXN0i"
name: Pushbullet
# Text to speech
tts:
- platform: google_translate
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment