Make the Left and Right button behave the same way
This commit is contained in:
parent
451d8b09f1
commit
5d8406d8ad
4 changed files with 8 additions and 11 deletions
|
|
@ -9,9 +9,9 @@ open FSharp.Data
|
|||
type BedroomControllingRemoteInteraction =
|
||||
| RemotePressedOnButton
|
||||
| RemotePressedOffButton
|
||||
| RemotePressedLeftButton
|
||||
|
||||
type LivingRoomControllingRemoteAction =
|
||||
| RemotePressedLeftButton
|
||||
| RemotePressedRightButton
|
||||
| LivingRoomRemotePressedOnButton
|
||||
| LivingRoomRemotePressedOffButton
|
||||
|
|
@ -138,7 +138,7 @@ type FakeHome() =
|
|||
Payload = @"{ ""action"": ""off"" }" }
|
||||
|> ReceivedZigbeeEvent
|
||||
|> onEventPublished.Trigger
|
||||
| BedroomControllingRemoteInteraction RemotePressedLeftButton ->
|
||||
| LivingRoomControllingRemoteInteraction RemotePressedLeftButton ->
|
||||
{ Topic = $"zigbee2mqtt/{remoteControlFriendlyName.Get}"
|
||||
Payload = @"{ ""action"": ""arrow_left_click"" }" }
|
||||
|> ReceivedZigbeeEvent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue