Skip to content

Commit 4ce531f

Browse files
EmitKiwiMartinHjelmare
authored andcommitted
Documentation mysensor nodes (home-assistant#3236)
* Update mysensors.markdown * Update mysensors.markdown * Update mysensors.markdown * Update mysensors.markdown * Added description for entity_id
1 parent 374295a commit 4ce531f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

source/_components/mysensors.markdown

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ mysensors:
2626
- device: '/dev/ttyUSB0'
2727
persistence_file: 'path/mysensors.json'
2828
baud_rate: 38400
29+
nodes:
30+
1:
31+
name: 'kitchen'
32+
3:
33+
name: 'living_room'
2934
- device: '/dev/ttyACM0'
3035
persistence_file: 'path/mysensors2.json'
3136
baud_rate: 115200
@@ -55,6 +60,8 @@ Configuration variables:
5560
- **version** (*Optional*): Specifies the MySensors protocol version to use. Supports 1.4, 1.5 and 2.0. Default is 1.4.
5661
- **optimistic** (*Optional*): Enable or disable optimistic mode for actuators (switch/light). Default is false. Set this to true if no state feedback from actuators is possible. Home Assistant will assume that the command succeeded and change state.
5762
- **retain** (*Optional*): Enable or disable retain flag for published messages from Home Assistant when using the MQTT gateway. Default is true.
63+
- **nodes** (*Optional*): Nodes that need a custom name.
64+
- **name** (*Optional*): The name the node will be renamed to. This nodename becomes part of the entity_id. Default the entity_id is [sketch_name]\_[node_id]\_[child_id] and when this name is set, the entity_id becomes [name]\_[child_id].
5865

5966
<p class='note'>
6067
Not all features of MySensors 2.0 are yet supported by Home Assistant. As more features are added, they will be described here in the documentation. Go to the MySensors platform pages under "related components" to see what message types are currently supported.

0 commit comments

Comments
 (0)