mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-14 21:06:50 +00:00
🔨 Add defaults and config variable - DSMR (#12479)
This commit is contained in:
parent
00645ce20f
commit
01a251b0c3
@ -54,17 +54,24 @@ sensor:
|
|||||||
|
|
||||||
{% configuration %}
|
{% configuration %}
|
||||||
port:
|
port:
|
||||||
description: "Serial port to which Smartmeter is connected (default: /dev/ttyUSB0 (connected to USB port)). For remote (i.e., ser2net) connections, use TCP port number to connect to (i.e., 2001)."
|
description: "Serial port to which Smartmeter is connected via USB. For remote (i.e., ser2net) connections, use TCP port number to connect to (i.e., 2001)."
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
default: "/dev/ttyUSB0"
|
||||||
host:
|
host:
|
||||||
description: "Host to which Smartmeter is connected (default: '' (connected via serial or USB, see **port**)). For remote connections, use IP address of host to connect to (i.e., 192.168.1.13)."
|
description: "Host to which Smartmeter is connected via serial or USB, see **port**. For remote connections, use IP address of host to connect to (i.e., 192.168.1.13)."
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
dsmr_version:
|
dsmr_version:
|
||||||
description: "Version of DSMR used by meter. Choices: 2.2, 4, 5, 5B (For Belgian Meter). Defaults to 2.2."
|
description: "Version of DSMR used by meter. Choices: `2.2`, `4`, `5`, `5B` (For Belgian Meter)."
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
default: "2.2"
|
||||||
|
reconnect_interval:
|
||||||
|
description: The reconnect interval in seconds when the connection is lost with the Smartmeter.
|
||||||
|
required: false
|
||||||
|
type: integer
|
||||||
|
default: 30
|
||||||
precision:
|
precision:
|
||||||
description: Defines the precision of the calculated values, through the argument of round().
|
description: Defines the precision of the calculated values, through the argument of round().
|
||||||
required: false
|
required: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user