v4.2.1 pre-release #190
Replies: 10 comments 13 replies
-
Notifying the usual early-adopting-and-reporting folk. @dtswk, @EddieSpaghettie, @ffm777, @gcoan, @hwb45, @iainfogg, @isorin, @jeffb1974, @ladaan, @Markyt77, @Nilogax, @Noodleyman, @ProphetOfDoom, @rholligan, @sh00t2kill, @Unlik and @wimdebruyn. As always, do ping if you would like to be off the list. |
Beta Was this translation helpful? Give feedback.
-
Notifying @Cycor and @Ben00793 who hit issues with v4.2.0. Thanks for reporting! |
Beta Was this translation helpful? Give feedback.
-
@autoSteve do you still have introducing the option for a "midnight-ish auto-poll + spread the rest of the polls between sunrise and sunset option" still on your bucket list? 4.2.0 working well but solcast is playing more snarky with 429's and repeated retries. I noticed yesterday that my 1pm-ish poll tried 10 times and then abandoned itself, and a few of the other polls have had 4 or 5 retries. The 6pm scheduled poll then of course worked perfectly with only 1 retry I think |
Beta Was this translation helpful? Give feedback.
-
(edit: formatting, history, trimmed down error to the relevant lines.)
Updated to HA core v2024.10.3 then upgraded solcast from 4.2.0 to 4.2.1
and rebooted solcast doesn't start, errors (non debug) below:
```
This error originated from a custom integration.
Logger: custom_components.solcast_solar.solcastapi
Source: custom_components/solcast_solar/solcastapi.py:912
integration: Solcast PV Forecast (documentation, issues)
First occurred: 2:16:13 PM (1 occurrences)
Last logged: 2:16:13 PM
Exception in granular_dampening_data(): unsupported operand type(s) for
^: 'bool' and 'NoneType': Traceback (most recent call last): File
"/config/custom_components/solcast_solar/solcastapi.py", line 878, in
granular_dampening_data return option(GRANULAR_DAMPENING_OFF)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File
"/config/custom_components/solcast_solar/solcastapi.py", line 865, in
option if enable ^ self.entry_options.get(SITE_DAMP, False):
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TypeError:
unsupported operand type(s) for ^: 'bool' and 'NoneType'
```
|
Beta Was this translation helpful? Give feedback.
-
Yep me too, upgraded HA and then upgraded Solcast and I've got "Failed to set up". Will do some debugging now. |
Beta Was this translation helpful? Give feedback.
-
2024-10-19 16:46:07.195 ERROR (MainThread) [custom_components.solcast_solar.solcastapi] Exception in granular_dampening_data(): unsupported operand type(s) for ^: 'bool' and 'NoneType': Traceback (most recent call last):
|
Beta Was this translation helpful? Give feedback.
-
I think I should pull the plug on the release until this can be solved, @BJReplay. |
Beta Was this translation helpful? Give feedback.
-
Added the file solcast-dampening.json with the contents of {} and
restarted solcast, then restarted ha when it didn't start, then full
host reboot just to be sure:
This error originated from a custom integration.
Logger: custom_components.solcast_solar.solcastapi
Source: custom_components/solcast_solar/solcastapi.py:912
integration: Solcast PV Forecast (documentation, issues)
First occurred: 4:29:48 PM (1 occurrences)
Last logged: 4:29:48 PM
Exception in granular_dampening_data(): unsupported operand type(s) for
^: 'bool' and 'NoneType': Traceback (most recent call last): File
"/config/custom_components/solcast_solar/solcastapi.py", line 906, in
granular_dampening_data return option(GRANULAR_DAMPENING_OFF,
SET_ALLOW_RESET) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File
"/config/custom_components/solcast_solar/solcastapi.py", line 865, in
option if enable ^ self.entry_options.get(SITE_DAMP, False):
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TypeError:
unsupported operand type(s) for ^: 'bool' and 'NoneType'
Logger: homeassistant.config_entries
Source: config_entries.py:594
First occurred: 4:29:48 PM (1 occurrences)
Last logged: 4:29:48 PM
Error setting up entry Solcast Solar for solcast_solar
Traceback (most recent call last):
File "/config/custom_components/solcast_solar/solcastapi.py", line 906,
in granular_dampening_data
return option(GRANULAR_DAMPENING_OFF, SET_ALLOW_RESET)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/solcast_solar/solcastapi.py", line 865,
in option
if enable ^ self.entry_options.get(SITE_DAMP, False):
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for ^: 'bool' and 'NoneType'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line
594, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/solcast_solar/__init__.py", line 204,
in async_setup_entry
granular_dampening = await solcast.granular_dampening_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/solcast_solar/solcastapi.py", line 914,
in granular_dampening_data
return option(GRANULAR_DAMPENING_OFF)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/solcast_solar/solcastapi.py", line 865,
in option
if enable ^ self.entry_options.get(SITE_DAMP, False):
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for ^: 'bool' and 'NoneType'
…-----Original Message-----
From: Steve Saunders ***@***.***>
Reply-To: BJReplay/ha-solcast-solar
***@***.***>
To: BJReplay/ha-solcast-solar ***@***.***>
Cc: Steve ***@***.***>, Mention
***@***.***>
Subject: Re: [BJReplay/ha-solcast-solar] v4.2.1 (Discussion #190)
Date: 19/10/24 16:27:03
26 downloads so far is limited damage.
I shall switch it to a pre-release with a big: DON'T UPGRADE TO THIS.
That will allow those committed to debugging the issue to freely switch
back and forth between 4.2.0 and 4.2.1 pre-release.
—
Reply to this email directly, view it on GitHub [1], or unsubscribe
[2].
You are receiving this because you were mentioned.Message ID:
<BJReplay/ha-solcast-solar/repo-
***@***.***>
[1] view it on GitHub
#190 (reply in thread)
[2] unsubscribe
https://github.com/notifications/unsubscribe-auth/AG42LPL54ANWUKYNL775AIDZ4HYC7AVCNFSM6AAAAABQG4QWA2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAOJYHE2DSMA
|
Beta Was this translation helpful? Give feedback.
-
Downgraded back to 4.2.0 and all is well :-) Happy to help debugging 4.2.1 if it will help. |
Beta Was this translation helpful? Give feedback.
-
Failed. Closing. v4.2.2 is out. |
Beta Was this translation helpful? Give feedback.
-
(edit: Due to unforseen circumstances v4.2.1 has been relegated to a "DO NOT INSTALL" pre-release.)
What's Changed
If you missed upgrading to v4.2.0 then you missed a lot of additions in past release notes, including bringing back auto-update. Check out the readme.
The changes close recent issues found with v4.2.0.
Full Changelog: v4.2.0...v4.2.1
Beta Was this translation helpful? Give feedback.
All reactions