#Gradient light strip automation not working anymore

1 messages · Page 1 of 1 (latest)

edgy ermine
#

Ever since a Home Assistant update a few months ago (not sure which one), my Philips Hue gradient lightstrip automation doesn't work anymore.

It was a very simple automation that worked perfectly fine until then.
Device (TV) is turned off > Gradient light strip is also turned off.

Now the automation gets triggered, but the light strip does not actually turn off and stays on instead.

description: ""
triggers:
  - type: turned_off
    device_id: 51be45d3148a139a32ca394e5a12f33a
    entity_id: fa5bb42444e1556de6e479a065499347
    domain: remote
    trigger: device
  - device_id: 51be45d3148a139a32ca394e5a12f33a
    domain: media_player
    entity_id: 3ae3ba2e71c3730b1edbf01ebb379f12
    type: turned_off
    trigger: device
  - device_id: cb6a0ba481a1167c86217e21c68c6371
    domain: media_player
    entity_id: f44219f44306065303970fb1d9739798
    type: turned_off
    trigger: device
conditions: []
actions:
  - type: turn_off
    device_id: f932a2b5f4eab57549e1e95484d6df5d
    entity_id: f42a8315cefbd9be19a4309852954fa4
    domain: light
mode: single
cedar latch
#

what happens if you run that action in devtools > actions

edgy ermine
#

Tried this. It gives me a ✅ but the lightstrip is still on

edgy ermine
#

I think the automation stopped working after the update where you had to choose devices, entities etc. like this

cedar latch
#

oh sorry

#

I now see which action you performed

#

I meant to try this action in devtools > actions

type: turn_off
device_id: f932a2b5f4eab57549e1e95484d6df5d
entity_id: f42a8315cefbd9be19a4309852954fa4
domain: light
cedar latch
edgy ermine
#

No action defined error

cedar latch
#

ah, you can't run device actions in devtools > actions

#
#
alias: TV uit
description: ""
triggers:
  - trigger: state
    entity_id: remote.whatever
    to: "off"
  - trigger: state
    entity_id: media_player.whatever
    to: "off"
    trigger: device
  - trigger: state
    entity_id: media_player.whatever_2
    to: "off"
conditions: []
actions:
  - action: light.turn_off
    target:
      entity_id: light.whatever
mode: single
#

you'd need to replace the entity_id's of course

edgy ermine
#

I'll give it a try when Im back to my pc, thanks

edgy ermine
#

Here's what I have now

#
description: ""
triggers:
  - trigger: state
    entity_id:
      - media_player.samsung_q67ba_50_tv_qe50q67bauxxh
    to: "off"
conditions: []
actions:
  - action: light.turn_off
    metadata: {}
    data: {}
    target:
      entity_id: light.hue_play_gradient_lightstrip_1
mode: single
#

Home assistant seems to think the lightstrip is off though

#

It's actually on

#

Checked the hue app and it said it was still syncing with the tv

#

After I clicked stop syncing it turned off

#

So I guess I need an automation that will stop the sync when I turn off my tv, and an automation that will start the sync again when I turn on the tv

cedar latch
#

seems like it's an issue with the Hue integration then, and not so much an issue with your automation

prime inlet
#

Hi, software up-to-date? Have you performed a reboot of haos already?

edgy ermine
#

Yes, home assistant is up to date and tried rebooting.

Going to try a reset of my hue bridge later

#

Just tried setting up the same automation in samsung smart things and it doesnt work either

#

So must be an issue with hue

prime inlet
#

maybe re-configure hue integration first, as automations would not have changed?

#

a powercycle of hue bridge is also advisable

edgy ermine
#

Resetting the hue bridge fixed it 👍

#

Was a software bug but got fixed in an update from hue