I have a light that uses a Lutron Caseta plug-in switch. The light bulb is a Philips Wiz WiFi bulb. The wall switch will be a Lutron Pico, the on/off will be handled natively by Caseta and the up/down/favorite buttons will trigger automations that use the Wiz integration to dim/change color on the Wiz bulb.
Can I create a custom entity to hold all the bulb state, and use it for automation triggers that call the Caseta or Wiz integrations depending on what happens? The Wiz bulb will become unavailable when the Caseta turns it off, Iād like to be able to maintain or update the dimming/color state and have it applied when Caseta turns the Wiz bulb back on.
Is something like this possible?