Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 102594

Climate attribute management

$
0
0

@ianadd wrote:

I have a climate integration (evohome) which delivers a range of attributes.

One attribute is not always delivered - depending on the working mode of the heating system.

I have created sensors for all the attributes to make them accessible in lovelace and automations.

This is the one which results in an error in the log whenever the entity does not deliver that attribute.

    wts_sp_until:
      value_template: >        
        {{ (as_timestamp(state_attr('climate.wts','status')['setpoint_status']['until'])
Could not render template wts_sp_until: UndefinedError: 'dict object' has no attribute 'until'

Is there a way I can code round this so as to not get the error in the log.?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 102594

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>