I am very new to HA and the natural first challenge ahead is a sweet configuration of lights which can be approved by the wife. We have Hue lights and IHC buttons everywhere. I have all the devices in HA, ready to go. I have done some tests and knows how to use the buttons as trigger to turn on/off lights, choose specific Hue scenes etc. However, I struggle to find a way to make the below conditional configuration for 2 buttons:
Button 1
IF TIME 08-12:
IF lights are off: Turn on morning scene in Hue
IF lights are on: Turn off all lights
IF TIME 12-18:
IF lights are off: Turn on day scene in Hue
IF lights are on: Turn off all lights
IF TIME 18-08:
IF lights are off: Turn on night scene in Hue (only 1 of the bulbs ON)
IF lights are on: Turn off all lights (normal toggle will turn off the 1 bulb and turn on the rest)
Button 2
Toggle between specific Hue scenes. I came up with a working solution based on this thread: Toggle scenes / light scenarios
However, I need it to play together with button 1; so if hue scene A is chosen atm., it should go to hue scene B, then C, then A, then B etc.
I hope someone is able to guide me in the right direction.