Kevin Addeman
Kevin Addeman
@bdraco, can you have a look at this PR again? I think this one is ready. I've added myself as a code owner as you suggested on PR#75323 Thx
We can query the model to find out. They all have the same leap button numbers for each function, so it works fine as is. The only downside is that...
This is how the data looks from the api. Device 2171 is a sunnata keypad, 2939 is a Pico "2171": { "button_groups": ["2180"], "current_state": -1, "device_id": "2171", "fan_speed": None, "model":...
This is the json that is returned by the leap request to the bridge { "CommuniqueType": "ReadResponse", "Header": { "MessageBodyType": "OneDeviceDefinition", "StatusCode": "200 OK", "Url": "/device/2139" }, "Body": { "Device":...
Yes, I was originally doing this in pylutron-caseta, but the maintainer only wants to return actual device types, true to the bridges responses. Which I agree with. if device_model ==...
@Richard-West, this is part of the puzzle for full RA3 Support. The rest is captured in this PR, adding RA3 support to the pylutron-caseta module that this integration depends on....
@bdraco , am I on the right page with something like this? Are you ok with the "SunnataKeypad" string literal in there? https://github.com/danaues/pytesting/blob/7fde6f05083c5e7e8d448e6328ddf08252f24e68/kevin.py#L3-L9 Model String: PJ2-3BRL-GXX-X01 Pico3ButtonRaiseLower Returns: Pico3ButtonRaiseLower Model...
Or maybe something like this is better. Will match the existing triggers. https://github.com/danaues/pytesting/blob/36bd36781b8b3069653b4cb2a9bee5ddfe87ae63/kevin2.py#L3-L14 Model String: PJ2-3BRL-GXX-X01 Pico3ButtonRaiseLower Returns: Pico3ButtonRaiseLower Model String: CS-YJ-4GC-WH FourGroupRemote Returns: FourGroupRemote Model String: RRST-W4B-XX SunnataKeypad Returns:...
Testing isn't going so well. I think it needs to be added in __init__.py during the initial device registry. Otherwise i'm running into issues when retrieving the trigger list, and...
This is working now. Had to apply the _lutron_model_to_device_type method to device_trigger: async_get_triggers() __init__: _async_button_event()