We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I upgraded to core version 2021.3.0 this evening and are getting errors shown below. It was working in 2021.2.3
2021-03-03 22:15:48 ERROR (MainThread) [custom_components.pyscript.scripts.diverse.presence.activity] Exception in <scripts.diverse.presence.activity> line 45: timer.activity.start(duration = "02:00:00") ^ AttributeError: 'StateVal' object has no attribute 'start'
2021-03-03 22:22:19 ERROR (MainThread) [custom_components.pyscript.scripts.alarm.arm.armhome] Exception in <scripts.alarm.arm.armhome> line 6: alarm_control_panel.hjemmealarm.alarm_arm_home(code = "1234") ^ AttributeError: 'StateVal' object has no attribute 'alarm_arm_home'
The text was updated successfully, but these errors were encountered:
2021.3.0 changes the way services with entities works. This should be fixed in master. Please run master to confirm.
Sorry, something went wrong.
Yes, I saw that in #173 (comment) after I have posted. I have changed to master and can confirm that timer.start works now.
Edit: no errors tonight, so it looks good :-)
Thanks for confirming. Released 1.3.1 with this fix (and a couple of others).
No branches or pull requests
I upgraded to core version 2021.3.0 this evening and are getting errors shown below. It was working in 2021.2.3
2021-03-03 22:15:48 ERROR (MainThread) [custom_components.pyscript.scripts.diverse.presence.activity] Exception in <scripts.diverse.presence.activity> line 45: timer.activity.start(duration = "02:00:00") ^ AttributeError: 'StateVal' object has no attribute 'start'
2021-03-03 22:22:19 ERROR (MainThread) [custom_components.pyscript.scripts.alarm.arm.armhome] Exception in <scripts.alarm.arm.armhome> line 6: alarm_control_panel.hjemmealarm.alarm_arm_home(code = "1234") ^ AttributeError: 'StateVal' object has no attribute 'alarm_arm_home'
The text was updated successfully, but these errors were encountered: