home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
70.46k stars 29.39k forks source link

OZW: Can't use multiple light.turn_on service calls for the same light #38924

Closed FuzzyMistborn closed 4 years ago

FuzzyMistborn commented 4 years ago

The problem

I have a few automations where I turn the light on to a certain brightness, wait a period of time, and then increase/decrease it again. IE something like this:

    - service: light.turn_on
      data:
        entity_id: light.office
        transition: 15
        brightness_pct: 50
    - delay: '00:00:15'
    - service: light.turn_on
      data:
        entity_id: light.office
        transition: 15
        brightness_pct: 100

What happens is the first service call works but then the second doesn't take place. So the lights are stuck at 50% brightness. From watching MQTT it looks like the call is being made to OZW so I'm not 100% sure if this is a HASS thing or an OZW thing.

Environment

Problem-relevant configuration.yaml

None

Traceback/Error logs

None

Additional information

Switches are GE Dimmers.

probot-home-assistant[bot] commented 4 years ago

ozw documentation ozw source (message by IssueLinks)

MartinHjelmare commented 4 years ago

Please provide the MQTT logs and we can see where the issue is.

FuzzyMistborn commented 4 years ago

Weird. I ended up restarting MQTT, HASS and OZW just to get a fresh start on logs and everything is working as it should. Sorry about that.