Skip to content

Commit

Permalink
Changed SCAN_INTERVAL and BAUDRATE
Browse files Browse the repository at this point in the history
  • Loading branch information
Jukka Pirinen committed Nov 25, 2023
1 parent 3ab852c commit 65fd56f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions custom_components/kamstrup_403/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

# Defaults
DEFAULT_NAME: Final = "kamstrup" # Used for sensor name prefix
DEFAULT_BAUDRATE: Final = 1200
DEFAULT_SCAN_INTERVAL: Final = 3600
DEFAULT_BAUDRATE: Final = 9600
DEFAULT_SCAN_INTERVAL: Final = 60
DEFAULT_TIMEOUT: Final = 1.0
DEFAULT_DEVICE_MODEL: Final = "403"

Expand Down
2 changes: 1 addition & 1 deletion custom_components/kamstrup_403/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@
entity_registry_enabled_default=False,
),
SensorEntityDescription(
key="1082", # 0x0440
key="1082", # 0x043a
name="PowerInP3",
icon="mdi:lightning-bolt",
device_class=SensorDeviceClass.POWER,
Expand Down

0 comments on commit 65fd56f

Please sign in to comment.