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

Added device with deviceInfo based on device name, type, model and firmware version #28

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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