Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.lastfm.const Namespace Reference

Variables

string ATTR_LAST_PLAYED = "last_played"
 
string ATTR_PLAY_COUNT = "play_count"
 
string ATTR_TOP_PLAYED = "top_played"
 
string CONF_MAIN_USER = "main_user"
 
string CONF_USERS = "users"
 
string DEFAULT_NAME = "LastFM"
 
 Final
 
 LOGGER = logging.getLogger(__package__)
 
list PLATFORMS = [Platform.SENSOR]
 
string STATE_NOT_SCROBBLING = "Not Scrobbling"
 

Detailed Description

Constants for LastFM.

Variable Documentation

◆ ATTR_LAST_PLAYED

string homeassistant.components.lastfm.const.ATTR_LAST_PLAYED = "last_played"

Definition at line 16 of file const.py.

◆ ATTR_PLAY_COUNT

string homeassistant.components.lastfm.const.ATTR_PLAY_COUNT = "play_count"

Definition at line 17 of file const.py.

◆ ATTR_TOP_PLAYED

string homeassistant.components.lastfm.const.ATTR_TOP_PLAYED = "top_played"

Definition at line 18 of file const.py.

◆ CONF_MAIN_USER

string homeassistant.components.lastfm.const.CONF_MAIN_USER = "main_user"

Definition at line 13 of file const.py.

◆ CONF_USERS

string homeassistant.components.lastfm.const.CONF_USERS = "users"

Definition at line 14 of file const.py.

◆ DEFAULT_NAME

string homeassistant.components.lastfm.const.DEFAULT_NAME = "LastFM"

Definition at line 11 of file const.py.

◆ Final

homeassistant.components.lastfm.const.Final

Definition at line 9 of file const.py.

◆ LOGGER

homeassistant.components.lastfm.const.LOGGER = logging.getLogger(__package__)

Definition at line 8 of file const.py.

◆ PLATFORMS

list homeassistant.components.lastfm.const.PLATFORMS = [Platform.SENSOR]

Definition at line 10 of file const.py.

◆ STATE_NOT_SCROBBLING

string homeassistant.components.lastfm.const.STATE_NOT_SCROBBLING = "Not Scrobbling"

Definition at line 20 of file const.py.