Home Assistant Unofficial Reference 2024.12.1
sensor.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.minecraft_server.sensor.MinecraftServerSensorEntity
 
class  homeassistant.components.minecraft_server.sensor.MinecraftServerSensorEntityDescription
 

Namespaces

 homeassistant.components.minecraft_server.sensor
 

Functions

None homeassistant.components.minecraft_server.sensor.async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 
dict[str, list[str]] homeassistant.components.minecraft_server.sensor.get_extra_state_attributes_players_list (MinecraftServerData data)
 

Variables

string homeassistant.components.minecraft_server.sensor.ATTR_PLAYERS_LIST = "players_list"
 
string homeassistant.components.minecraft_server.sensor.KEY_EDITION = "edition"
 
string homeassistant.components.minecraft_server.sensor.KEY_GAME_MODE = "game_mode"
 
string homeassistant.components.minecraft_server.sensor.KEY_MAP_NAME = "map_name"
 
string homeassistant.components.minecraft_server.sensor.KEY_PLAYERS_MAX = "players_max"
 
string homeassistant.components.minecraft_server.sensor.KEY_PLAYERS_ONLINE = "players_online"
 
string homeassistant.components.minecraft_server.sensor.KEY_PROTOCOL_VERSION = "protocol_version"
 
string homeassistant.components.minecraft_server.sensor.KEY_VERSION = "version"
 
list homeassistant.components.minecraft_server.sensor.SENSOR_DESCRIPTIONS
 
string homeassistant.components.minecraft_server.sensor.UNIT_PLAYERS_MAX = "players"
 
string homeassistant.components.minecraft_server.sensor.UNIT_PLAYERS_ONLINE = "players"