diff --git a/config.yaml b/config.yaml index 6a191ab1..3826a190 100644 --- a/config.yaml +++ b/config.yaml @@ -85,9 +85,11 @@ insteon: - 21.d6.d9: 'door' # Battery powered mini remotes. - mini_remote4: + mini_remote1: # Single Button Remotes - mini_remote8: + mini_remote4: # Remotes with 4 Buttons + + mini_remote8: # Remotes with 8 Buttons - 3f.07.d4: 'remote1' # Smoke bridge module. @@ -591,7 +593,7 @@ mqtt: # whenever a button is pressed. Available variables for templating are: # address = 'aa.bb.cc' # name = 'device name' - # button = 1...n (button number 1-4 or 1-8) + # button = 1...n (button number 1-8 depending on configuration) # on = 0/1 # on_str = 'off'/'on' # mode = 'normal'/'fast'/'instant' diff --git a/insteon_mqtt/config.py b/insteon_mqtt/config.py index f4027b0e..f07f5f80 100644 --- a/insteon_mqtt/config.py +++ b/insteon_mqtt/config.py @@ -23,6 +23,7 @@ 'keypad_linc' : (device.KeypadLinc, {'dimmer' : True}), 'keypad_linc_sw' : (device.KeypadLinc, {'dimmer' : False}), 'leak' : (device.Leak, {}), + 'mini_remote1' : (device.Remote, {'num_button' : 1}), 'mini_remote4' : (device.Remote, {'num_button' : 4}), 'mini_remote8' : (device.Remote, {'num_button' : 8}), 'motion' : (device.Motion, {}), diff --git a/insteon_mqtt/device/Remote.py b/insteon_mqtt/device/Remote.py index ac1d215c..a511fe3b 100644 --- a/insteon_mqtt/device/Remote.py +++ b/insteon_mqtt/device/Remote.py @@ -16,7 +16,7 @@ class Remote(Base): """Insteon multi-button battery powered mini-remote device. - This class can be used for 4, 6 or 8 (really any number) of battery + This class can be used for 1, 4, 6 or 8 (really any number) of battery powered button remote controls. The issue with a battery powered remotes is that we can't download the