Skip to content

Commit

Permalink
Merge pull request #35 from bieniu/dev
Browse files Browse the repository at this point in the history
Refactoring step 1
  • Loading branch information
bieniu authored May 4, 2020
2 parents bfdf55d + 5cbc5c7 commit fe3e61f
Show file tree
Hide file tree
Showing 3 changed files with 358 additions and 569 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ python_script:
fw_ver: '{{ trigger.payload_json.fw_ver }}'
discovery_prefix: 'hass'
qos: 2
force_update: true
shelly1-001122-relay-0: 'light'
shellyswitch-9900AA-relay-0: 'light'
shellyswitch-9900AA-relay-1: 'fan'
Expand All @@ -148,6 +149,7 @@ key | optional | type | default | description
`discovery_prefix` | True | string | `homeassistant` | MQTT discovery prefix
`qos` | True | integer | `0` | MQTT QoS, you can use `0`, `1` or `2`
`ignored_devices` | True | list | None | list of devices to ignore
`force_update` | True | boolean | False | [force update](https://www.home-assistant.io/integrations/sensor.mqtt/#force_update) sensors

## Arguments for Shelly1

Expand Down
2 changes: 2 additions & 0 deletions info.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ python_script:
fw_ver: '{{ trigger.payload_json.fw_ver }}'
discovery_prefix: 'hass'
qos: 2
force_update: true
shelly1-001122-relay-0: 'light'
shellyswitch-9900AA-relay-0: 'light'
shellyswitch-9900AA-relay-1: 'fan'
Expand All @@ -133,6 +134,7 @@ key | optional | type | default | description
`discovery_prefix` | True | string | `homeassistant` | MQTT discovery prefix
`qos` | True | integer | `0` | MQTT QoS, you can use `0`, `1` or `2`
`ignored_devices` | True | list | None | list of devices to ignore
`force_update` | True | boolean | False | [force update](https://www.home-assistant.io/integrations/sensor.mqtt/#force_update) sensors

## Arguments for Shelly1

Expand Down
Loading

0 comments on commit fe3e61f

Please sign in to comment.