diff --git a/custom_components/powercalc/const.py b/custom_components/powercalc/const.py index 5b2f422ba..98bca705d 100644 --- a/custom_components/powercalc/const.py +++ b/custom_components/powercalc/const.py @@ -191,15 +191,15 @@ class UnitPrefix(StrEnum): ATTR_SOURCE_DOMAIN = "source_domain" SERVICE_ACTIVATE_PLAYBOOK = "activate_playbook" -SERVICE_STOP_PLAYBOOK = "stop_playbook" -SERVICE_GET_ACTIVE_PLAYBOOK = "get_active_playbook" -SERVICE_RESET_ENERGY = "reset_energy" -SERVICE_INCREASE_DAILY_ENERGY = "increase_daily_energy" SERVICE_CALIBRATE_UTILITY_METER = "calibrate_utility_meter" SERVICE_CALIBRATE_ENERGY = "calibrate_energy" -SERVICE_SWITCH_SUB_PROFILE = "switch_sub_profile" SERVICE_CHANGE_GUI_CONFIGURATION = "change_gui_config" +SERVICE_GET_ACTIVE_PLAYBOOK = "get_active_playbook" SERVICE_GET_GROUP_ENTITIES = "get_group_entities" +SERVICE_INCREASE_DAILY_ENERGY = "increase_daily_energy" +SERVICE_RESET_ENERGY = "reset_energy" +SERVICE_STOP_PLAYBOOK = "stop_playbook" +SERVICE_SWITCH_SUB_PROFILE = "switch_sub_profile" SIGNAL_POWER_SENSOR_STATE_CHANGE = "powercalc_power_sensor_state_change" diff --git a/custom_components/powercalc/icons.json b/custom_components/powercalc/icons.json index eefecd42c..4a2791a62 100644 --- a/custom_components/powercalc/icons.json +++ b/custom_components/powercalc/icons.json @@ -1,12 +1,14 @@ { "services": { - "reset_energy": "mdi:restore", + "activate_playbook": "mdi:play", "calibrate_utility_meter": "mdi:wrench", "calibrate_energy": "mdi:wrench", + "change_gui_config": "mdi:cogs", + "get_active_playbook": "mdi:book-open-variant-outline", + "get_group_entities": "mdi:format-list-group", "increase_daily_energy": "mdi:numeric", - "activate_playbook": "mdi:play", + "reset_energy": "mdi:restore", "stop_playbook": "mdi:stop", - "switch_sub_profile": "mdi:toggle-switch", - "change_gui_config": "mdi:cogs" + "switch_sub_profile": "mdi:toggle-switch" } }