MCPcopy Create free account

hub / github.com/DoctaShizzle/marstek_cloud / functions

Functions25 in github.com/DoctaShizzle/marstek_cloud

↓ 2 callersMethod_get_token
(self)
custom_components/marstek_cloud/coordinator.py:19
↓ 1 callersMethod__init__
(self, session: aiohttp.ClientSession, email: str, password: str)
custom_components/marstek_cloud/coordinator.py:13
↓ 1 callersMethodget_devices
(self)
custom_components/marstek_cloud/coordinator.py:30
Method__init__
(self, coordinator, device, key, meta)
custom_components/marstek_cloud/sensor.py:75
Method__init__
(self, coordinator, entry_id)
custom_components/marstek_cloud/sensor.py:136
Method__init__
(self, coordinator, entry_id)
custom_components/marstek_cloud/sensor.py:163
Method__init__
(self, config_entry)
custom_components/marstek_cloud/config_flow.py:44
Method__init__
(self, hass, api: MarstekAPI, scan_interval: int)
custom_components/marstek_cloud/coordinator.py:78
Method_async_update_data
(self)
custom_components/marstek_cloud/coordinator.py:88
Methodasync_get_options_flow
(config_entry)
custom_components/marstek_cloud/config_flow.py:37
Functionasync_setup_entry
Set up Marstek sensors from a config entry.
custom_components/marstek_cloud/sensor.py:35
Functionasync_setup_entry
Set up Marstek from a config entry.
custom_components/marstek_cloud/__init__.py:9
Methodasync_step_init
Manage the options for the integration.
custom_components/marstek_cloud/config_flow.py:47
Methodasync_step_user
(self, user_input=None)
custom_components/marstek_cloud/config_flow.py:19
Functionasync_unload_entry
Unload a config entry.
custom_components/marstek_cloud/__init__.py:36
Methodasync_update
Manually trigger an update.
custom_components/marstek_cloud/sensor.py:108
Methoddevice_info
Return metadata for the device registry.
custom_components/marstek_cloud/sensor.py:85
Methodextra_state_attributes
(self)
custom_components/marstek_cloud/sensor.py:154
Methodextra_state_attributes
(self)
custom_components/marstek_cloud/sensor.py:181
Methodextra_state_attributes
(self)
custom_components/marstek_cloud/sensor.py:198
Methodnative_value
Return the current value of the sensor.
custom_components/marstek_cloud/sensor.py:101
Methodnative_value
Return the diagnostic value.
custom_components/marstek_cloud/sensor.py:117
Methodnative_value
Return the total charge across all devices.
custom_components/marstek_cloud/sensor.py:144
Methodnative_value
Return the total power (charge - discharge) across all devices.
custom_components/marstek_cloud/sensor.py:171
Methodnative_value
Return the total charge for the device.
custom_components/marstek_cloud/sensor.py:191