Anonym-tsk / home-assistant-components

Custom components for Home Assistant
29 stars 5 forks source link

Issue working with Appdaemon HEATY #4

Closed thundergreen closed 5 years ago

thundergreen commented 5 years ago

Hello.

I just setup Heaty and get thoses errors:

2018-09-24 14:54:34.336509 INFO AppDaemon: Initializing app heaty_full using class HeatyApp from module hass_apps_loader                                      
2018-09-24 14:54:34.470211 INFO heaty_full: *** Welcome to heaty (version 0.16.0)!                                                                            
2018-09-24 14:54:34.471668 INFO heaty_full: ***                                                                                                               
2018-09-24 14:54:34.472458 INFO heaty_full: *** This is an app from the hass-apps package.                                                                    
2018-09-24 14:54:34.473171 INFO heaty_full: ***   DOCS: https://hass-apps.readthedocs.io/en/stable/                                                           
2018-09-24 14:54:34.474168 INFO heaty_full: ***                                                                                                               
2018-09-24 14:54:34.475276 INFO heaty_full: *** If you like this app and want to honor the effort put into it,                                                
2018-09-24 14:54:34.476486 INFO heaty_full: *** please consider a donation.                                                                                   
2018-09-24 14:54:34.477710 INFO heaty_full: ***   DONATE: https://hass-apps.readthedocs.io/en/stable/#donations                                               
2018-09-24 14:54:34.478870 INFO heaty_full: *** Thank you very much and enjoy heaty!                                                                          
2018-09-24 14:54:34.479704 INFO heaty_full: ***                                                                                                               
2018-09-24 14:54:34.480358 INFO heaty_full: --- Validating the app's configuration.                                                                           
2018-09-24 14:54:34.484016 INFO heaty_full: --- Heaty id is: 'default'                                                                                        
2018-09-24 14:54:34.484795 INFO heaty_full: --- Importing modules for use in temperature expressions.                                                         
2018-09-24 14:54:34.485888 INFO heaty_full: --- [R:Room Rose] Initializing room (name='rose').                                                                
2018-09-24 14:54:34.487364 INFO heaty_full: <-- [R:Room Rose] Querying state of 'sensor.heaty_default_room_rose_scheduled_temp'.                              
2018-09-24 14:54:34.488920 INFO heaty_full: --> [R:Room Rose] = None                                                                                          
2018-09-24 14:54:34.490124 INFO heaty_full: --- [R:Room Rose] Last scheduled temperature is unknown.                                                          
2018-09-24 14:54:34.491298 INFO heaty_full: --- [R:Room Rose] [T:climate.air_conditioner_rose] Initializing thermostat (entity_id='climate.air_conditioner_ros
e').                                                                                                                                                          
2018-09-24 14:54:34.492428 WARNING heaty_full: !!! [R:Room Rose] [T:climate.air_conditioner_rose] Thermostat has no attribute named 'operation_mode'. Availabl
e attributes are ['current_temperature', 'friendly_name', 'max_temp', 'min_temp', 'power', 'supported_features', 'target_temp_step', 'temperature', 'attribute
s', 'context', 'entity_id', 'last_changed', 'last_updated', 'state']. Please check your config!                                                               
2018-09-24 14:54:34.494601 WARNING heaty_full: !!! [R:Room Rose] [T:climate.air_conditioner_rose] The value None for attribute 'current_temperature' is no val
id temperature value. Please check your config!                                                                                                               
2018-09-24 14:54:34.495640 WARNING heaty_full: !!! [R:Room Rose] [T:climate.air_conditioner_rose] Attributes for thermostat contain no 'operation_list', Consi
der disabling operation mode support.                                                                                                                         
2018-09-24 14:54:34.496717 INFO heaty_full: --- [R:Room Rose] [T:climate.air_conditioner_rose] Fetching initial state.                                        
2018-09-24 14:54:34.497864 INFO heaty_full: --> [R:Room Rose] [T:climate.air_conditioner_rose] Attribute 'operation_mode' is None.                            
2018-09-24 14:54:34.499195 ERROR heaty_full: !!! [R:Room Rose] [T:climate.air_conditioner_rose] Unknown operation mode, ignoring thermostat.                  
2018-09-24 14:54:34.500749 INFO heaty_full: --- [R:Room Rose] [T:climate.air_conditioner_rose] Listening for state changes.                                   
2018-09-24 14:54:34.502123 INFO heaty_full: --- [R:Room Rose] [W:binary_sensor.door_window_sensor_158d00019daf13] Initializing window sensor (entity_id='binar
y_sensor.door_window_sensor_158d00019daf13').                                                                                                                 
2018-09-24 14:54:34.503046 INFO heaty_full: --- [R:Room Rose] [W:binary_sensor.door_window_sensor_158d00019daf13] Listening for state changes (delay=10).     
2018-09-24 14:54:34.503939 INFO heaty_full: --- [R:Room Rose] Registering scheduling timers at: {17:30:00, 07:45:00, 07:15:00, 08:00:00}                      
2018-09-24 14:54:34.505366 INFO heaty_full: --- [R:Room Evan] Initializing room (name='evan').                                                                
2018-09-24 14:54:34.506216 INFO heaty_full: <-- [R:Room Evan] Querying state of 'sensor.heaty_default_room_evan_scheduled_temp'.                              
2018-09-24 14:54:34.507059 INFO heaty_full: --> [R:Room Evan] = None                                                                                          
2018-09-24 14:54:34.507828 INFO heaty_full: --- [R:Room Evan] Last scheduled temperature is unknown.                                                          
2018-09-24 14:54:34.508672 INFO heaty_full: --- [R:Room Evan] [T:climate.air_conditioner_evan] Initializing thermostat (entity_id='climate.air_conditioner_eva
n').                                                                                                                                                          
2018-09-24 14:54:34.509777 WARNING heaty_full: !!! [R:Room Evan] [T:climate.air_conditioner_evan] Thermostat has no attribute named 'operation_mode'. Availabl
e attributes are ['current_temperature', 'friendly_name', 'max_temp', 'min_temp', 'power', 'supported_features', 'target_temp_step', 'temperature', 'attribute
s', 'context', 'entity_id', 'last_changed', 'last_updated', 'state']. Please check your config!                                                               
2018-09-24 14:54:34.511326 WARNING heaty_full: !!! [R:Room Evan] [T:climate.air_conditioner_evan] The value None for attribute 'current_temperature' is no val
id temperature value. Please check your config!                                                                                                               
2018-09-24 14:54:34.513056 WARNING heaty_full: !!! [R:Room Evan] [T:climate.air_conditioner_evan] Attributes for thermostat contain no 'operation_list', Consi
der disabling operation mode support.                                                                                                                         
2018-09-24 14:54:34.514174 INFO heaty_full: --- [R:Room Evan] [T:climate.air_conditioner_evan] Fetching initial state.                                        
2018-09-24 14:54:34.516112 INFO heaty_full: --> [R:Room Evan] [T:climate.air_conditioner_evan] Attribute 'operation_mode' is None.                            
2018-09-24 14:54:34.517775 ERROR heaty_full: !!! [R:Room Evan] [T:climate.air_conditioner_evan] Unknown operation mode, ignoring thermostat.                  
2018-09-24 14:54:34.518937 INFO heaty_full: --- [R:Room Evan] [T:climate.air_conditioner_evan] Listening for state changes.                                   
2018-09-24 14:54:34.519859 INFO heaty_full: --- [R:Room Evan] [W:binary_sensor.door_window_sensor_158d00019dae38] Initializing window sensor (entity_id='binar
y_sensor.door_window_sensor_158d00019dae38').                                                                                                                 
2018-09-24 14:54:34.520674 INFO heaty_full: --- [R:Room Evan] [W:binary_sensor.door_window_sensor_158d00019dae38] Listening for state changes (delay=10).     
2018-09-24 14:54:34.521565 INFO heaty_full: --- [R:Room Evan] Registering scheduling timers at: {07:45:00, 07:15:00, 21:00:00, 22:00:00}                      
2018-09-24 14:54:34.522749 INFO heaty_full: --- [R:Bedroom] Initializing room (name='bedroom').                                                               
2018-09-24 14:54:34.524178 INFO heaty_full: <-- [R:Bedroom] Querying state of 'sensor.heaty_default_room_bedroom_scheduled_temp'.                             
2018-09-24 14:54:34.525112 INFO heaty_full: --> [R:Bedroom] = None                                                                                            
2018-09-24 14:54:34.526194 INFO heaty_full: --- [R:Bedroom] Last scheduled temperature is unknown.                                                            
2018-09-24 14:54:34.527046 INFO heaty_full: --- [R:Bedroom] [T:climate.air_conditioner_bedroom] Initializing thermostat (entity_id='climate.air_conditioner_be
droom').                                                                                                                                                      
2018-09-24 14:54:34.528144 WARNING heaty_full: !!! [R:Bedroom] [T:climate.air_conditioner_bedroom] Thermostat has no attribute named 'operation_mode'. Availab
le attributes are ['current_temperature', 'friendly_name', 'max_temp', 'min_temp', 'power', 'supported_features', 'target_temp_step', 'temperature', 'attribut
es', 'context', 'entity_id', 'last_changed', 'last_updated', 'state']. Please check your config!                                                              
2018-09-24 14:54:34.529170 WARNING heaty_full: !!! [R:Bedroom] [T:climate.air_conditioner_bedroom] The value None for attribute 'current_temperature' is no va
lid temperature value. Please check your config!                                                                                                              
2018-09-24 14:54:34.530216 WARNING heaty_full: !!! [R:Bedroom] [T:climate.air_conditioner_bedroom] Attributes for thermostat contain no 'operation_list', Cons
ider disabling operation mode support.                                                                                                                        
2018-09-24 14:54:34.531375 INFO heaty_full: --- [R:Bedroom] [T:climate.air_conditioner_bedroom] Fetching initial state.                                       
2018-09-24 14:54:34.532468 INFO heaty_full: --> [R:Bedroom] [T:climate.air_conditioner_bedroom] Attribute 'operation_mode' is None.                           
2018-09-24 14:54:34.533414 ERROR heaty_full: !!! [R:Bedroom] [T:climate.air_conditioner_bedroom] Unknown operation mode, ignoring thermostat.                 
2018-09-24 14:54:34.534642 INFO heaty_full: --- [R:Bedroom] [T:climate.air_conditioner_bedroom] Listening for state changes.                                  
2018-09-24 14:54:34.536127 INFO heaty_full: --- [R:Bedroom] [W:binary_sensor.door_window_sensor_158d00019f308a] Initializing window sensor (entity_id='binary_
sensor.door_window_sensor_158d00019f308a').                                                                                                                   
2018-09-24 14:54:34.537419 INFO heaty_full: --- [R:Bedroom] [W:binary_sensor.door_window_sensor_158d00019f308a] Listening for state changes (delay=10).       
2018-09-24 14:54:34.538453 INFO heaty_full: --- [R:Bedroom] Registering scheduling timers at: {23:30:00, 22:30:00}                                            
2018-09-24 14:54:34.539308 INFO heaty_full: --- Listening for heaty_reschedule event.                                                                         
2018-09-24 14:54:34.540097 INFO heaty_full: --- Listening for heaty_set_temp event.                                                                           
2018-09-24 14:54:34.540846 INFO heaty_full: --- Listening for state changes of master switch (entity_id='input_boolean.heating_master').                      
2018-09-24 14:54:34.540981 WARNING AppDaemon: heaty_full: Entity input_boolean.heating_master not found in AppDaemon                                          
2018-09-24 14:54:34.541779 INFO heaty_full: --- Master switch is off, not setting temperatures initially.                                                     
2018-09-24 14:54:34.542768 INFO heaty_full: --- [SZ:upstairs] Initializing statistics zone (name='upstairs').                                                 
2018-09-24 14:54:34.543616 WARNING heaty_full: !!! [SZ:upstairs] No parameters configured.                                                                    
2018-09-24 14:54:34.544418 INFO heaty_full: --- [SZ:upstairs] Listening for temperature changes of T:climate.air_conditioner_rose in R:Room Rose.             
2018-09-24 14:54:34.545224 INFO heaty_full: --- [SZ:upstairs] Listening for temperature changes of T:climate.air_conditioner_evan in R:Room Evan.             
2018-09-24 14:54:34.546169 INFO heaty_full: --- [SZ:upstairs] Listening for temperature changes of T:climate.air_conditioner_bedroom in R:Bedroom.            
2018-09-24 14:54:34.547649 INFO heaty_full: --- [SZ:upstairs] Going to update statistics in 3 seconds.                                                        
2018-09-24 14:54:34.549031 INFO heaty_full: *** Initialization done.                                                                                          
2018-09-24 14:54:34.549722 INFO AppDaemon: App initialization complete                                                                                        
2018-09-24 14:54:37.003532 INFO heaty_full: --- [SZ:upstairs] No parameters configured, nothing to update. 

Problem is that your component doesn't expose operation mode?

That's weird as I can use this operation_mode in my automations.

Could you please have a look?

THanks .)

Your fan

thundergreen commented 5 years ago

Works