core/homeassistant/components/lupusec
suaveolent f2100f80c4
Add device info to lupusec (#108910)
* added device info and unique id

* removed wrong attribute

* added base entity

* rename domain

* added entity.py to coveragerc

* added base entity for sensors and alarm panel

* add generic type translation

* rename functions

* rename device name to device model

* set _attr_name = None

* pass in only the entry_id instead of the full config_entry

* set unique id to device_id or entry id

* use deviceinfo class

* moved     _attr_name = None to entities

* Update homeassistant/components/lupusec/alarm_control_panel.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update homeassistant/components/lupusec/entity.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update homeassistant/components/lupusec/entity.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* remove DOMAIN from unique id

* removed redundant function

* Update homeassistant/components/lupusec/alarm_control_panel.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update homeassistant/components/lupusec/entity.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

---------

Co-authored-by: suaveolent <suaveolent@users.noreply.github.com>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-01-28 16:06:57 +01:00
..
__init__.py Add device info to lupusec (#108910) 2024-01-28 16:06:57 +01:00
alarm_control_panel.py Add device info to lupusec (#108910) 2024-01-28 16:06:57 +01:00
binary_sensor.py Add device info to lupusec (#108910) 2024-01-28 16:06:57 +01:00
config_flow.py Add ConfigFlow for Lupusec (#108740) 2024-01-25 18:52:30 +01:00
const.py Add device info to lupusec (#108910) 2024-01-28 16:06:57 +01:00
entity.py Add device info to lupusec (#108910) 2024-01-28 16:06:57 +01:00
manifest.json Add ConfigFlow for Lupusec (#108740) 2024-01-25 18:52:30 +01:00
strings.json Add ConfigFlow for Lupusec (#108740) 2024-01-25 18:52:30 +01:00
switch.py Add device info to lupusec (#108910) 2024-01-28 16:06:57 +01:00