Neste momento tenho no config.yaml:
Weather Sensor
sensor:
platform: darksky
api_key: 2ca0cd5975126fb586b9611854c7d972
language: pt
monitored_conditions:
- summary
- precip_type
- precip_probability
- temperature
- humidity
- temperature_max
- temperature_min
- hourly_summary
- daily_summary
no customize.yaml:
#DARK SKY
sensor.dark_sky_temperature:
friendly_name: “Temperatura na Rua”
icon: mdi:thermometer
sensor.dark_sky_summary:
friendly_name: “Ceu”
sensor.dark_sky_humidity:
friendly_name: “Humididade na Rua”
sensor.dark_sky_precip_probability:
friendly_name: “Probabilidade de chover”
sensor.dark_sky_daily_high_temperature:
friendly_name: “Temperatura Máxima”
sensor.dark_sky_daily_low_temperature:
friendly_name: “Temperatura Mínima”
sensor.dark_sky_hourly_summary:
friendly_name: “Previsão próximos dias”
sensor.dark_sky_daily_summary:
friendly_name: “Previsão de hoje”
no groups.yaml:
meteo_:
view: yes
name: Meteorologia
entities:
- group.meteo
meteo:
control: hidden
entities:
- sensor.dark_sky_summary
- sensor.dark_sky_temperature
- sensor.dark_sky_humidity
- sensor.dark_sky_daily_high_temperature
- sensor.dark_sky_daily_low_temperature
- sensor.dark_sky_daily_summary
- sensor.dark_sky_hourly_summary
- sensor.dark_sky_precip_probability
e por fim no ui-lovelace:
- type: custom:dark-sky-weather-card
entity_sun: sun.sun
entity_daily_summary: sensor.dark_sky_daily_summary
entity_current_conditions: sensor.dark_sky_icon
entity_humidity: sensor.dark_sky_humidity
entity_pressure: sensor.dark_sky_pressure
entity_temperature: sensor.dark_sky_temperature
entity_visibility: sensor.dark_sky_visibility
entity_wind_bearing: sensor.dark_sky_wind_bearing
entity_wind_speed: sensor.dark_sky_wind_speed
entity_forecast_high_temp_1: sensor.dark_sky_daytime_high_temperature_1
entity_forecast_high_temp_2: sensor.dark_sky_daytime_high_temperature_2
entity_forecast_high_temp_3: sensor.dark_sky_daytime_high_temperature_3
entity_forecast_high_temp_4: sensor.dark_sky_daytime_high_temperature_4
entity_forecast_high_temp_5: sensor.dark_sky_daytime_high_temperature_5
entity_forecast_low_temp_1: sensor.dark_sky_overnight_low_temperature
entity_forecast_low_temp_2: sensor.dark_sky_overnight_low_temperature_1
entity_forecast_low_temp_3: sensor.dark_sky_overnight_low_temperature_2
entity_forecast_low_temp_4: sensor.dark_sky_overnight_low_temperature_3
entity_forecast_low_temp_5: sensor.dark_sky_overnight_low_temperature_4
entity_forecast_icon_1: sensor.dark_sky_icon_1
entity_forecast_icon_2: sensor.dark_sky_icon_2
entity_forecast_icon_3: sensor.dark_sky_icon_3
entity_forecast_icon_4: sensor.dark_sky_icon_4
entity_forecast_icon_5: sensor.dark_sky_icon_5
Ao abrir via web tenho esta mensagem:
mapping values are not allowed here in “/config/ui-lovelace.yaml”, line 2, column 19
Se mudar para o outro frontend, já me aparece o cartão do darksky