I feel like I’m almost done with my floorplan, but can’t get the Dark Sky to work as I want.
- Entity for temperature for tomorrow doesn’t show up. Summary and Icon does show up for today and tomorrow, but not for temperature.
- Is there any way to change the color of the summary icon? Right now it’s black, which doesn’t really show too well on grey background.
- Can I somehow get rid of the C for Celsius? Would be nice to have a cleaner look since I know it displays in Celsius anyway.
ui-lovelace,yaml
#Weather
###########################################################################
#Today image
- type: image
image: /local/Weather/Today.svg
style:
left: 27%
top: 3%
#Today Summary
- type: state-icon
entity: sensor.dark_sky_summary_0d
style:
left: 27%
top: 10%
#Today Temp
- type: state-label
entity: sensor.dark_sky_temperature
style:
left: 27%
top: 16%
color: white
font-size: 23px
#Tomorrow image
- type: image
image: /local/Weather/Tomorrow.svg
style:
left: 76%
top: 3%
#Tomorrow Summary
- type: state-icon
entity: sensor.dark_sky_summary_1d
style:
left: 76%
top: 10%
#Tomorrow Temp
- type: state-label
entity: sensor.dark_sky_temperature
style:
left: 76%
top: 16%
color: white
font-size: 23px
Configuration.yaml
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
# base_url: example.duckdns.org:8123
# Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
lovelace:
mode: yaml
# Time Sensor
sensor:
- platform: time_date
display_options:
- 'time'
- 'date'
- 'date_time'
- 'date_time_iso'
- 'time_date'
- 'time_utc'
- 'beat'
#Dark Sky Sensor
- platform: darksky
api_key: SuperSecretCode
forecast:
- 0
- 1
monitored_conditions:
- summary
- icon
- temperature
# Time and date Info
homeassistant:
latitude: 59.3293
longitude: 18.0686
unit_system: metric
time_zone: Europe/Stockholm
Kind regards
Daniel