solar power sensor unavailable
See original GitHub issueVersion of the custom_component
v2.4.1
Configuration
logger:
default: critical
logs:
custom_components.tesla_custom: debug
teslajsonpy: debug
Describe the bug
Solar power sensor unavailable, however still able to view history
Debug log
This error originated from a custom integration.
Logger: custom_components.tesla_custom
Source: custom_components/tesla_custom/__init__.py:288
Integration: Tesla Custom Integration (documentation, issues)
First occurred: 4:03:59 PM (6 occurrences)
Last logged: 4:04:50 PM
Unexpected error fetching tesla_custom data: 'grid_status'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 205, in _async_refresh
self.data = await self._async_update_data()
File "/config/custom_components/tesla_custom/__init__.py", line 288, in _async_update_data
return await self.controller.update()
File "/usr/local/lib/python3.10/site-packages/teslajsonpy/controller.py", line 1074, in update
return any(await asyncio.gather(*tasks))
File "/usr/local/lib/python3.10/site-packages/teslajsonpy/controller.py", line 991, in _get_and_process_energysite_data
if response["grid_status"] == "Active":
KeyError: 'grid_status'
Issue Analytics
- State:
- Created a year ago
- Comments:14
Top Results From Across the Web
10 Reasons Why Your Solar Lights Not Working & How To Fix
There are many reasons why your solar lights are not working such as broken wires, dead batteries, no sufficient sunlight, and many more....
Read more >Solar Lights Are Not Working - How To Fix Outdoor Solar ...
Solution: Check the solar light motion sensor or solar panel on some models to be sure there is no sticker or something obstructing...
Read more >A Guide How To Fix Your Solar Light Sensor In 5 Easy Steps
One way to tell if your solar light sensor is broken is to check the light itself. If the light is not coming...
Read more >How to Fix Motion Sensor Security Floodlight Not Working?
- If the light does not work in all modes, please check if the solar panel can charge the light or not. Please...
Read more >Why Solar Lights not Working - Common Reasons
The sensors of your solar light can be tested quite easily by putting your hand on top of your solar light. If the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It looks like this may have fixed the issue. It’s no longer showing unavailable and nothing showing up on the logs. I’ll take a look tomorrow to see if the data is coming through. Thanks for all the hard work!
@ylwmamba Version 2.4.2 is out so please give that a shot and let me know if it does or does not fix the issue.