Classes | |
| class | UnifiSensorEntity |
| class | UnifiSensorEntityDescription |
Functions | |
| float|None | _device_temperature (str temperature_name, list[TypedDeviceTemperature] temperatures) |
| TypedDeviceUptimeStatsWanMonitor|None | _device_wan_latency_monitor (Literal["WAN", "WAN2"] wan, str monitor_target, Device device) |
| bool | async_bandwidth_sensor_allowed_fn (UnifiHub hub, str obj_id) |
| bool | async_client_is_connected_fn (UnifiHub hub, str obj_id) |
| float | async_client_rx_value_fn (UnifiHub hub, Client client) |
| float | async_client_tx_value_fn (UnifiHub hub, Client client) |
| datetime | async_client_uptime_value_fn (UnifiHub hub, Client client) |
| int | async_device_clients_value_fn (UnifiHub hub, Device device) |
| bool | async_device_outlet_power_supported_fn (UnifiHub hub, str obj_id) |
| bool | async_device_outlet_supported_fn (UnifiHub hub, str obj_id) |
| str | async_device_state_value_fn (UnifiHub hub, Device device) |
| bool | async_device_temperatures_supported_fn (str temperature_name, UnifiHub hub, str obj_id) |
| float | async_device_temperatures_value_fn (str temperature_name, UnifiHub hub, Device device) |
| bool | async_device_uplink_mac_supported_fn (UnifiHub hub, str obj_id) |
| datetime|None | async_device_uptime_value_fn (UnifiHub hub, Device device) |
| bool | async_device_wan_latency_supported_fn (Literal["WAN", "WAN2"] wan, str monitor_target, UnifiHub hub, str obj_id) |
| int|None | async_device_wan_latency_value_fn (Literal["WAN", "WAN2"] wan, str monitor_target, UnifiHub hub, Device device) |
| None | async_setup_entry (HomeAssistant hass, UnifiConfigEntry config_entry, AddEntitiesCallback async_add_entities) |
| bool | async_uptime_sensor_allowed_fn (UnifiHub hub, str obj_id) |
| bool | async_uptime_value_changed_fn (StateType|date|datetime|Decimal old, datetime|float|str|None new) |
| int | async_wlan_client_value_fn (UnifiHub hub, Wlan wlan) |
| bool | device_system_stats_supported_fn (int stat_index, UnifiHub hub, str obj_id) |
| tuple[UnifiSensorEntityDescription,...] | make_device_temperatur_sensors () |
| tuple[UnifiSensorEntityDescription,...] | make_wan_latency_sensors () |
Sensor platform for UniFi Network integration. Support for bandwidth sensors of network clients. Support for uptime sensors of network clients.
|
private |
|
private |
| bool homeassistant.components.unifi.sensor.async_bandwidth_sensor_allowed_fn | ( | UnifiHub | hub, |
| str | obj_id | ||
| ) |
| bool homeassistant.components.unifi.sensor.async_client_is_connected_fn | ( | UnifiHub | hub, |
| str | obj_id | ||
| ) |
| float homeassistant.components.unifi.sensor.async_client_rx_value_fn | ( | UnifiHub | hub, |
| Client | client | ||
| ) |
| float homeassistant.components.unifi.sensor.async_client_tx_value_fn | ( | UnifiHub | hub, |
| Client | client | ||
| ) |
| datetime homeassistant.components.unifi.sensor.async_client_uptime_value_fn | ( | UnifiHub | hub, |
| Client | client | ||
| ) |
| int homeassistant.components.unifi.sensor.async_device_clients_value_fn | ( | UnifiHub | hub, |
| Device | device | ||
| ) |
| bool homeassistant.components.unifi.sensor.async_device_outlet_power_supported_fn | ( | UnifiHub | hub, |
| str | obj_id | ||
| ) |
| bool homeassistant.components.unifi.sensor.async_device_outlet_supported_fn | ( | UnifiHub | hub, |
| str | obj_id | ||
| ) |
| str homeassistant.components.unifi.sensor.async_device_state_value_fn | ( | UnifiHub | hub, |
| Device | device | ||
| ) |
| bool homeassistant.components.unifi.sensor.async_device_temperatures_supported_fn | ( | str | temperature_name, |
| UnifiHub | hub, | ||
| str | obj_id | ||
| ) |
| float homeassistant.components.unifi.sensor.async_device_temperatures_value_fn | ( | str | temperature_name, |
| UnifiHub | hub, | ||
| Device | device | ||
| ) |
| bool homeassistant.components.unifi.sensor.async_device_uplink_mac_supported_fn | ( | UnifiHub | hub, |
| str | obj_id | ||
| ) |
| datetime | None homeassistant.components.unifi.sensor.async_device_uptime_value_fn | ( | UnifiHub | hub, |
| Device | device | ||
| ) |
| bool homeassistant.components.unifi.sensor.async_device_wan_latency_supported_fn | ( | Literal["WAN", "WAN2"] | wan, |
| str | monitor_target, | ||
| UnifiHub | hub, | ||
| str | obj_id | ||
| ) |
| int | None homeassistant.components.unifi.sensor.async_device_wan_latency_value_fn | ( | Literal["WAN", "WAN2"] | wan, |
| str | monitor_target, | ||
| UnifiHub | hub, | ||
| Device | device | ||
| ) |
| None homeassistant.components.unifi.sensor.async_setup_entry | ( | HomeAssistant | hass, |
| UnifiConfigEntry | config_entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
| bool homeassistant.components.unifi.sensor.async_uptime_sensor_allowed_fn | ( | UnifiHub | hub, |
| str | obj_id | ||
| ) |
| bool homeassistant.components.unifi.sensor.async_uptime_value_changed_fn | ( | StateType | date | datetime | Decimal | old, |
| datetime | float | str | None | new | ||
| ) |
| int homeassistant.components.unifi.sensor.async_wlan_client_value_fn | ( | UnifiHub | hub, |
| Wlan | wlan | ||
| ) |
| bool homeassistant.components.unifi.sensor.device_system_stats_supported_fn | ( | int | stat_index, |
| UnifiHub | hub, | ||
| str | obj_id | ||
| ) |
| tuple[UnifiSensorEntityDescription, ...] homeassistant.components.unifi.sensor.make_device_temperatur_sensors | ( | ) |
| tuple[UnifiSensorEntityDescription, ...] homeassistant.components.unifi.sensor.make_wan_latency_sensors | ( | ) |