-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
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
"Error while executing the action switch/turn_on . SmartThingsCommandError(ConflictError, invalid device state) #141128
Comments
Hey there @joostlek, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) smartthings documentation |
The only reason why this would be our problem is when the TV was already off and we sent the off command, otherwise it would be on SmartThings |
The official SmartThings app works fine, probably something with their API then |
No I mean, I can see it happening that HA still tries to turn off a device that is off, causing this, can you verify this? |
Oh yeah, lemme check |
So, When I turn off the TV in Home Assistant, it does turn off the TV, but the switch in Home Assistant stays in the 'on' state, even though the TV is clearly off. It seems like the status isn’t updating properly. More details: Yeah so the thing is: I turned on the TV on the remote and tried turning off on home assistant, it did turn it off, but it went back to on state(on home assistant) even tho it was clearly turned off. So it appears to be something with the pushing status thing |
I get the same issues when turning it off either via the remote, smartthings app or even within home assistant it will show within home assistant that the tv status is still on. This can be very annoying when you have other automations that rely on the status being off. Do we have a workaround or a fix for this issue yet? Thanks |
But do you get the update in time? |
Sorry not sure what you mean if this was me being asked? |
Either one of you |
Sorry what update? I have this morning done the 2025.4 core update which I noticed had some Smartthings updates. I have since re-added the integration to update to the newest entities however my TV media player entity in home assistant still shows as being "on" when the TV is turned off and in standby. However when checking the smartthings app it shows as off |
Can you check what's on the advanced SmartThings devices dashboard? If you can reproduce this, can you enable debug logging and try it? |
it works fine on the advanced SmartThings dashboard, but with the new core update it was fixed for me |
The problem
So, everytime I try to turn my tv on or off using the smartthings integration, I get the following error "Error while executing the action switch/turn_on . SmartThingsCommandError(ConflictError, invalid device state)". It looks like to be related to #140903 (which was fixed but generated another problem #141127).
What version of Home Assistant Core has the issue?
core-2025.3.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
SmartThings
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: