We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5aa3a8f commit 55c7933Copy full SHA for 55c7933
custom_components/solakon_one/__init__.py
@@ -17,7 +17,7 @@
17
18
async def async_setup_entry(hass: HomeAssistant, entry: SolakonConfigEntry) -> bool:
19
"""Set up Solakon ONE from a config entry."""
20
- hub = get_modbus_hub(hass, entry.options | entry.data)
+ hub = get_modbus_hub(hass, entry.data | entry.options) # let options override data
21
22
try:
23
await hub.async_setup()
0 commit comments