Adjust onewire device model (#58516)
Co-authored-by: epenet <epenet@users.noreply.github.com>
This commit is contained in:
parent
baaaf3d2bc
commit
b85217c62e
3 changed files with 17 additions and 5 deletions
|
@ -395,7 +395,7 @@ def get_entities(
|
|||
family = device_type
|
||||
elif "7E" in family:
|
||||
device_sub_type = "EDS"
|
||||
family = onewirehub.owproxy.read(f"{device_path}device_type").decode()
|
||||
family = device_type
|
||||
|
||||
if family not in get_sensor_types(device_sub_type):
|
||||
_LOGGER.warning(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue