Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom panel for LCN configuration #108664

Merged
merged 22 commits into from
Aug 21, 2024
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix docstring
  • Loading branch information
alengwenus committed Aug 16, 2024
commit 86b1275b4d539ccb0ac43d3bf5b814dda3bc3333
2 changes: 1 addition & 1 deletion homeassistant/components/lcn/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ async def async_update_config_entry(
def get_device_config(
address: AddressType, config_entry: ConfigEntry
) -> ConfigType | None:
"""Return the device configuration for given unique_device_id from ConfigEntry."""
"""Return the device configuration for given address and ConfigEntry."""
for device_config in config_entry.data[CONF_DEVICES]:
if tuple(device_config[CONF_ADDRESS]) == address:
return cast(ConfigType, device_config)
Expand Down