Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.habitica.sensor Namespace Reference

Classes

class  HabitipySensor
 
class  HabitipySensorEntity
 
class  HabitipySensorEntityDescription
 
class  HabitipyTaskSensor
 
class  HabitipyTaskSensorEntityDescription
 

Functions

None async_setup_entry (HomeAssistant hass, HabiticaConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
dictionary TASKS_MAP
 
string TASKS_MAP_ID = "id"
 

Detailed Description

Support for Habitica sensors.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.habitica.sensor.async_setup_entry ( HomeAssistant  hass,
HabiticaConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up the habitica sensors.

Definition at line 260 of file sensor.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.habitica.sensor._LOGGER = logging.getLogger(__name__)
private

Definition at line 32 of file sensor.py.

◆ TASKS_MAP

dictionary homeassistant.components.habitica.sensor.TASKS_MAP
Initial value:
1 = {
2  "repeat": "repeat",
3  "challenge": "challenge",
4  "group": "group",
5  "frequency": "frequency",
6  "every_x": "everyX",
7  "streak": "streak",
8  "up": "up",
9  "down": "down",
10  "counter_up": "counterUp",
11  "counter_down": "counterDown",
12  "next_due": "nextDue",
13  "yester_daily": "yesterDaily",
14  "completed": "completed",
15  "collapse_checklist": "collapseChecklist",
16  "type": "type",
17  "notes": "notes",
18  "tags": "tags",
19  "value": "value",
20  "priority": "priority",
21  "start_date": "startDate",
22  "days_of_month": "daysOfMonth",
23  "weeks_of_month": "weeksOfMonth",
24  "created_at": "createdAt",
25  "text": "text",
26  "is_due": "isDue",
27 }

Definition at line 199 of file sensor.py.

◆ TASKS_MAP_ID

string homeassistant.components.habitica.sensor.TASKS_MAP_ID = "id"

Definition at line 198 of file sensor.py.