Skip to content
New issue

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

Service var.set broken and do nothing after update to 0.15.3 #113

Open
gamba69 opened this issue Apr 22, 2024 · 2 comments
Open

Service var.set broken and do nothing after update to 0.15.3 #113

gamba69 opened this issue Apr 22, 2024 · 2 comments

Comments

@gamba69
Copy link

gamba69 commented Apr 22, 2024

Hello,
after update to 0.15.3 service var.set silently do nothing. Variable value and attributes not updated, and I don't see any error in log.
This bug was fixed in 0.15.2 and now it's rise again.
I see that
await self.async_update_ha_state(True) in async_set returned,
and if i change code to
self.async_write_ha_state()
all working again

@mkagawa
Copy link

mkagawa commented May 1, 2024

I have the same experience, and above fix works for me.

@dscottbuch
Copy link

I would guess this is related to "Restore attribute values if HA starts #112" which was broken by 0.15.2 and fixed by 0.15.3. Overall I've regressed to 0.15.0 to make both of these work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants