Public Member Functions | |
| None | __init__ (self, HomeAssistant hass, MatterClient matter_client, ConfigEntry config_entry) |
| None | register_platform_handler (self, Platform platform, AddEntitiesCallback add_entities) |
| None | setup_nodes (self) |
Public Attributes | |
| config_entry | |
| hass | |
| matter_client | |
Private Member Functions | |
| None | _create_device_registry (self, MatterEndpoint endpoint) |
| None | _setup_endpoint (self, MatterEndpoint endpoint) |
| None | _setup_node (self, MatterNode node) |
Connect Matter into Home Assistant.
Definition at line 34 of file adapter.py.
| None homeassistant.components.matter.adapter.MatterAdapter.__init__ | ( | self, | |
| HomeAssistant | hass, | ||
| MatterClient | matter_client, | ||
| ConfigEntry | config_entry | ||
| ) |
Initialize the adapter.
Definition at line 37 of file adapter.py.
|
private |
Create a device registry entry for a MatterNode.
Definition at line 152 of file adapter.py.
|
private |
Set up a MatterEndpoint as HA Device.
Definition at line 231 of file adapter.py.
|
private |
Set up an node.
Definition at line 136 of file adapter.py.
| None homeassistant.components.matter.adapter.MatterAdapter.register_platform_handler | ( | self, | |
| Platform | platform, | ||
| AddEntitiesCallback | add_entities | ||
| ) |
Register a platform handler.
Definition at line 50 of file adapter.py.
| None homeassistant.components.matter.adapter.MatterAdapter.setup_nodes | ( | self | ) |
Set up all existing nodes and subscribe to new nodes.
Definition at line 56 of file adapter.py.
| homeassistant.components.matter.adapter.MatterAdapter.config_entry |
Definition at line 46 of file adapter.py.
| homeassistant.components.matter.adapter.MatterAdapter.hass |
Definition at line 45 of file adapter.py.
| homeassistant.components.matter.adapter.MatterAdapter.matter_client |
Definition at line 44 of file adapter.py.