Evening All,
I just updated my docker container for HA after about 6 months, mostly smooth but the one issue I’m seeing is that my ecobee isn’t returning temperatures like it should be. Specifically, the indoor temperature returns “unavailable” and “none” for weather. Prior to the update, these were both working fine.
Relevant code:
decluttering_templates:
header_main:
card:
type: custom:paper-buttons-row
styles:
justify-content: space-between
background: none
margin: '-15px 20px 16px'
text-shadow: 0px 0px 20px var(--card-background-color);
buttons:
- layout: name_state
name: |
{{ states('sensor.day_en') }}, {{ states('sensor.date_en') }}
state: |
{{ now().strftime('%H') }}:{{ now().strftime('%M')}}
styles:
name:
font-weight: 400
font-size: 16px
margin-left: 0
display: block
text-align: left
float: left
width: 140px
button:
pointer-events: none
align-items: left
width: 140px
line-height: 1.6em
state:
font-weight: 700
font-size: 30px
letter-spacing: '-1px'
margin-left: 0
display: block
text-align: left
float: left
width: 140px
- layout: icon|name_state
name: |
⌂ {{ states('sensor.home_temperature') }}°F
state: |
{{ state_attr('weather.home','temperature') }}°F
image: |
{% set mapper =
{ 'breezy':'cloudy',
'clear-night':'night',
'clear':'day',
'mostly-clear':'day',
'clear-day':'day',
'cloudy':'cloudy',
'fog':'fog',
'hail':'rainy-7',
'haze':'haze',
'lightning':'thunder',
'mostly-cloudy':'cloudy',
'partlycloudy':'cloudy-day-3',
'partly-cloudy-day':'partly-cloudy-day',
'partly-cloudy-night':'partly-cloudy-night',
'rain':'rainy-4',
'scattered-showers':'rainy-3',
'showers':'rainy-6',
'sleet':'sleet',
'snow':'snowy-6',
'mostly-sunny':'day',
'sunny':'day',
'thunderstorm':'thunder',
'tornado':'tornado',
'wind':'wind',
'windy':'wind'} %}
{% set state = states('weather.home') %}
{% set weather = mapper[state] if state in mapper else 'weather' %}
{% set path = /local/themes/animated-weather-card/icons/ %}
{% set ext = '.svg'%} {{[path,weather,ext]|join('')}}
styles:
name:
font-weight: 400
font-size: 16px
margin-left: 0
display: block
text-align: right
width: 140px
button:
pointer-events: none
align-items: right
width: 140px
line-height: 1.6em
state:
font-weight: 600
font-size: 30px
letter-spacing: '-1px'
margin-left: 0
display: block
text-align: right
width: 140px
icon:
position: absolute
left: 2px
transform: scale(0.17)
transform-origin: 0 19.5%
top: '-48px;'
padding: 0;
height: 380px !important;
width: 380px !importan