Add inverted option (#21774)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
the-real-wizhack 2022-03-27 16:09:53 +02:00 committed by GitHub
parent c379658165
commit fe40a702c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -154,6 +154,26 @@ rflink:
This configuration will ignore the button `1` of the `newkaku` device with ID `000001`, all devices of the `digitech` protocol and all switches of the `kaku` protocol device with codewheel ID `1`.
### Invert cover
Devices can be configure to work in inverted mode by adding option in `configuration.yaml`:
```yaml
# Example configuration.yaml entry for inverted RTS cover
cover:
- platform: rflink
devices:
# Rfloader created remote control which is used by Home Assistant
RTS_0a0a0a_1:
name: "Blind office"
aliases:
- rts_0f1f2f_01 # ID of the remote control (Somfy smove in this case)
type: inverted
```
This configuration uses `0a0a0a` to control the inverted shutter (send UP to close and Down to open) and listen commands sent by `0f1f2f` remote control.
### Device support
Even though a lot of devices are supported by RFLink, not all have been tested/implemented. If you have a device supported by RFLink but not by this integration please consider testing and adding support yourself.