Added Alexa Music
This commit is contained in:
@@ -1,3 +1,19 @@
|
||||
# WashData - Home Assistant integration for appliance cycle monitoring via smart plugs.
|
||||
# Copyright (C) 2026 Lukas Bandura
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
"""Select entity for WashData."""
|
||||
|
||||
from __future__ import annotations
|
||||
@@ -54,16 +70,8 @@ class WashDataProgramSelect(SelectEntity):
|
||||
self._attr_icon = "mdi:tumble-dryer"
|
||||
elif dtype == "dishwasher":
|
||||
self._attr_icon = "mdi:dishwasher"
|
||||
elif dtype == "ev":
|
||||
self._attr_icon = "mdi:car-electric"
|
||||
elif dtype == "coffee_machine":
|
||||
self._attr_icon = "mdi:coffee"
|
||||
elif dtype == "air_fryer":
|
||||
self._attr_icon = "mdi:pot-steam"
|
||||
elif dtype == "heat_pump":
|
||||
self._attr_icon = "mdi:heat-pump"
|
||||
elif dtype == "oven":
|
||||
self._attr_icon = "mdi:stove"
|
||||
else:
|
||||
self._attr_icon = "mdi:washing-machine" # Default and washing_machine
|
||||
|
||||
|
||||
Reference in New Issue
Block a user