kloggy / HA-Irrigation-Version2

225 stars 55 forks source link

Instructions from HowTo.md do not work on the recent HA (115.2) #29

Closed aik closed 3 years ago

aik commented 3 years ago

The lovelace component in particular.

aik commented 3 years ago
Sep 28 14:38:06 aikhass hass[18380]: 2020-09-28 14:38:06 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.277069258
4] Error handling message: Unknown error                                                                                                     
Sep 28 14:38:06 aikhass hass[18380]: Traceback (most recent call last):                                                                      
Sep 28 14:38:06 aikhass hass[18380]:   File "/mnt/sda/aik/homeassistant/lib/python3.8/site-packages/homeassistant/components/websocket_api/de
corators.py", line 21, in _handle_async_response                                                                                             
Sep 28 14:38:06 aikhass hass[18380]:     await func(hass, connection, msg)                                                                   
Sep 28 14:38:06 aikhass hass[18380]:   File "/mnt/sda/aik/homeassistant/lib/python3.8/site-packages/homeassistant/components/lovelace/websock
et.py", line 30, in send_with_error_handling                                                                                                 
Sep 28 14:38:06 aikhass hass[18380]:     result = await func(hass, connection, msg, config)                                                  
Sep 28 14:38:06 aikhass hass[18380]:   File "/mnt/sda/aik/homeassistant/lib/python3.8/site-packages/homeassistant/components/lovelace/websock
et.py", line 72, in websocket_lovelace_config                                                                                                
Sep 28 14:38:06 aikhass hass[18380]:     return await config.async_load(msg["force"])                                                        
Sep 28 14:38:06 aikhass hass[18380]:   File "/mnt/sda/aik/homeassistant/lib/python3.8/site-packages/homeassistant/components/lovelace/dashboa
rd.py", line 185, in async_load                                                                                                              
Sep 28 14:38:06 aikhass hass[18380]:     is_updated, config = await self.hass.async_add_executor_job(                                        
Sep 28 14:38:06 aikhass hass[18380]:   File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run                               
Sep 28 14:38:06 aikhass hass[18380]:     result = self.fn(*self.args, **self.kwargs)                                                         
Sep 28 14:38:06 aikhass hass[18380]:   File "/mnt/sda/aik/homeassistant/lib/python3.8/site-packages/homeassistant/components/lovelace/dashboa
rd.py", line 204, in _load_config                                                                                                            
Sep 28 14:38:06 aikhass hass[18380]:     config = load_yaml(self.path)                                                                       
Sep 28 14:38:06 aikhass hass[18380]:   File "/mnt/sda/aik/homeassistant/lib/python3.8/site-packages/homeassistant/util/yaml/loader.py", line 
61, in load_yaml                                                                                                                             
Sep 28 14:38:06 aikhass hass[18380]:     return yaml.load(conf_file, Loader=SafeLineLoader) or OrderedDict()                                 
Sep 28 14:38:06 aikhass hass[18380]:   File "/mnt/sda/aik/homeassistant/lib/python3.8/site-packages/yaml/__init__.py", line 114, in load     
Sep 28 14:38:06 aikhass hass[18380]:     return loader.get_single_data()                                                                     
Sep 28 14:38:06 aikhass hass[18380]:   File "/mnt/sda/aik/homeassistant/lib/python3.8/site-packages/yaml/constructor.py", line 51, in get_sin
gle_data                                                                                                                                     
Sep 28 14:38:06 aikhass hass[18380]:     return self.construct_document(node)                                                                
Sep 28 14:38:06 aikhass hass[18380]:   File "/mnt/sda/aik/homeassistant/lib/python3.8/site-packages/yaml/constructor.py", line 55, in constru
ct_document                                                                                                                                  
Sep 28 14:38:06 aikhass hass[18380]:     data = self.construct_object(node)                                                                  
Sep 28 14:38:06 aikhass hass[18380]:   File "/mnt/sda/aik/homeassistant/lib/python3.8/site-packages/yaml/constructor.py", line 100, in constr
uct_object                                                                                                                                   
Sep 28 14:38:06 aikhass hass[18380]:     data = constructor(self, node)                                                                      
Sep 28 14:38:06 aikhass hass[18380]:   File "/mnt/sda/aik/homeassistant/lib/python3.8/site-packages/homeassistant/util/yaml/loader.py", line 
192, in _ordered_dict                                                                                                                        
Sep 28 14:38:06 aikhass hass[18380]:     nodes = loader.construct_pairs(node)                                                                
Sep 28 14:38:06 aikhass hass[18380]:   File "/mnt/sda/aik/homeassistant/lib/python3.8/site-packages/yaml/constructor.py", line 155, in constr
uct_pairs                                                                                                                                    
Sep 28 14:38:06 aikhass hass[18380]:     value = self.construct_object(value_node, deep=deep)                                                
Sep 28 14:38:06 aikhass hass[18380]:   File "/mnt/sda/aik/homeassistant/lib/python3.8/site-packages/yaml/constructor.py", line 100, in constr
uct_object                                                                                                                                   
Sep 28 14:38:06 aikhass hass[18380]:     data = constructor(self, node)                                                                      
Sep 28 14:38:06 aikhass hass[18380]:   File "/mnt/sda/aik/homeassistant/lib/python3.8/site-packages/homeassistant/util/yaml/loader.py", line 

and so on when I click on "reload ui" in HA web interface. It is HA and python venv

aik commented 3 years ago
Sep 28 14:58:12 aikhass hass[18857]: 2020-09-28 14:58:12 ERROR (MainThread) [homeassistant.setup] Setup failed for lovelace_gen: Integration 
not found.                                                                                                                                   

there we go. Not sure how to fix this.

kloggy commented 3 years ago

"Setup failed for lovelace_gen: Integration not found."

I assume you have installed 'lovelace_gen' by following any instructions needed for that? - https://github.com/thomasloven/hass-lovelace_gen

aik commented 3 years ago

sorry for being blind :)