Skip to content

Conversation

@srkoster
Copy link
Contributor

@srkoster srkoster commented Jan 7, 2025

This change creates a device per entity with the device name, it's type (based on the sub integration type: airconwithme / intesishome_local as manufacturer) and the model. Model is derived from the controller, if new get_model function (see jnimmo/pyIntesisHome#59) is available (otherwise it's none / unknown). Firmware version is derived from the controller for intesishome device, if new get_fw_version function is available (see jnimmo/pyIntesisHome#59) otherwise it's none.

Devices view:
image

Per device:
image

New function in pyIntesishome unavailable:
image

Also change update_before_add=True to update_before_add=False in async_setup_entry to prevent issues during startup when using multiple airconwithme devices.

…del is derived from the controller, if new get_model function is available (otherwise it's none / unknown)
@srkoster
Copy link
Contributor Author

srkoster commented Jan 7, 2025

It would be nicer if the airconwithme device would return the same model (instead of the modelId 550) but that would need a mapping in pyIntesishome from ModelId to modelname.

This needs an update to pyintesishome to get the firmware version of the device (or wifi controller) from the API. So far this seems only to be supported for intesishome_local devices and will return None for all others.
@srkoster srkoster changed the title Added device with deviceInfo based on device name, type and model Added device with deviceInfo based on device name, type, model and firmware version Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant