Peço desculpa se a minha questão já foi respondida mas ando aqui a " cabeçada 2 com o HA.
A ver se me explico .
HA a rolar em Lunbuntu, estou numa fase muito inicial então para já só estou tentar por uma lâmpada yeelight a funcionar .
Encontrei o código para a lâmpada na pagina oficial HA e acrescentei no ficheiros configuration.yaml, apos into apareceu a opção para mexer la lampada .
Agora por razão que não entendo aprece 2 vezes a mesma lampada com nomes diferentes so que no ficheiro so la tenho 1 ALguem pode dar aui uma ajuda ?? Muito obrigado
homeassistant:
# Name of the location where Home Assistant is running
name: A Minha Casa
# Location required to calculate the time the sun rises and sets
latitude:
longitude:
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation:
# metric for Metric, imperial for Imperial
unit_system: metric
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: Europe/Lisbon
# Customization file
customize: !include customize.yaml
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Show the introduction message on startup.
# introduction:
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
# base_url: example.duckdns.org:8123
# Sensors
sensor:
# Weather prediction
- platform: yr
# Text to speech
#tts:
# - platform: google
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
# Lampadas
light:
- platform: yeelight
devices:
192.168.1.96:
name: A minha luz
transition: 1000
use_music_mode: true
save_on_change: true