Просмотр исходного кода

Pinelake camera: add all reported dps

- add SD card status and Alarm linkage, which are locally reported
- remove optional and force tags from dps that are locally reported
- change some readonly select entities to binary sensors
- add classes and remove names as appropriate for sensors
- removed message sensor, as that does not appear useful as it is binary data
  (may be the camera snapshot, but seems too short)

Issue #698 / PR #828
Jason Rumney 2 лет назад
Родитель
Сommit
a194b91451
3 измененных файлов с 537 добавлено и 540 удалено
  1. 1 1
      ACKNOWLEDGEMENTS.md
  2. 500 499
      DEVICES.md
  3. 36 40
      custom_components/tuya_local/devices/pinelake_birdfeeder.yaml

+ 1 - 1
ACKNOWLEDGEMENTS.md

@@ -226,7 +226,7 @@ Further device support has been made with the assistance of users.  Please consi
 - [dhuddle](https://github.com/dhuddle) for assisting with support for Chanfok ceiling fan with light, Inkbird BBQ thermometer, Lepro lights (variant of RGBCW light without timer) and Yieryi pH meter.
 - [theshop35](https://github.com/theshop35) for assisting with support for CC curtains.
 - [blakadder](https://github.com/blakadder) for contributing support for Ultonic K10 air fryer, Proscenic M9 vacuums, improvements to ZY-M100 presence sensors and documentation improvements, and many more devices requested by other users.
-- [szupi-ipuzs](https://github.com/szupi-ipuzs) for contributing support for desk lamps (Setti+ SL601), Loratap relays, Brennenstuhl WFD3050P motion spotlights.
+- [szupi-ipuzs](https://github.com/szupi-ipuzs) for contributing support for desk lamps (Setti+ SL601), Loratap relays, Brennenstuhl WFD3050P motion spotlights, Pinelake bird feeder cameras.
 - [MackoMici](https://github.com/MackoMici) for contributing support for GX aroma diffuser, which was merged with the YYM config.
 - [Die-Meester](https://github.com/Die-Meester) for contributing support for CBI Astute smart switches.
 - [ResteNarquois](https://github.com/ResteNarquois) for assisting with support for Zemismart roller shades.

+ 500 - 499
DEVICES.md

@@ -1,499 +1,500 @@
-# Supported devices
-
-### Heaters
-
-- Andersson GSH heater
-- Arlec 2200W and 2400W panel heaters
-- Atomi AT1632 ceramic heater
-- Betterlife BT1500 IR heater
-- BVF CP1 heater
-- Devola patio heater
-- Ecostrad Accent iQ heating panels
-- Ecostrad iQ ceramic radiators
-- Eurom Mon Soleil 300,600,800, 350,601,720 and 300,450,720 Verre heaters
-- Eurom Sani Wall Heat 2000 heater
-- Eurom Wall Designheat 2000 heater
-- Goldair heater models beginning with the code GPPH, GCPV, GECO
-- Heatstorm HS-6000-GC heavy duty heater
-- HJZ oil column radiator
-- INOW Wi-Fi heating element (single and dual air/water temperature control variants)
-- Kogan flame effect heater - KAWHMFP20BA model
-- Kogan tower heater - KASTHFP2KWA model
-- Kogan Wi-Fi convection panel heaters - KAHTP and KAWFHTP models
-- Nedis convection heater - WIFIHTPL20F model
-- Orion OWH-PTC2000 heater
-- Princess 350 panel heater
-- Purline Hoti M100 heater
-- Rumba bathroom heater
-- Wetair WCH-750 heater
-
-### Air Conditioners / Heatpumps
-
-- Be Cool BC14KL2101F
-- Carson CB PA280
-- Cooper&Hunter Nordic Evo Ng
-- Costway portable air conditioner
-- Daewoo Dhome OL-A011 air conditioner (DA9KWE)
-- Daizuki heat pump
-- Duux Blizzard portable air conditioner
-- Eberg Cooly C35HD
-- Eberg Qubo Q40HD
-- ElectriQ 12WMINV
-- ElectriQ Airflex 15W
-- ElectriQ EcoSilent 14HPW
-- Fersk Vind 2
-- Kogan 2.6kW portable air conditioner
-- Lyfco OL-A012 air conditioner
-- Monzana Klimaanlage air conditioner
-- Nedis ACMB1WT12 portable air conditioner
-- Rotenso Roni R35WI
-- Sencor MT7048C air conditioner
-- Sendo air conditioner
-- Star-Light air conditioner (also confirmed to work with Polar branded devices)
-- Tadiran Wind 65/3P
-- TroniTechnik Hellnar Klimagerät
-- Vivax Cool ACP-12CH35REWI
-- Woods Milan portable air conditioner
-
-### Pool heaters / heatpumps
-
-- BWT FI 45 heatpump
-- Fairland IPHCR15 pool heatpump (matches others above, but allows control of heat/cool modes while others seem to be fixed to auto only)
-- Garden PAC pool heatpump (also works with Summerwave Si Series)
-- IPS Pro pool-systems heatpump (seems to match Fairland Inver-X as well)
-- Madimack Elite V3 pool heatpump
-- Madimack(model unknown) pool heatpump (seems to match Fairland IPH45 as well)
-- Poolex Silverline, Q-7, Q-line and Vertigo heatpumps
-- Remora pool heatpump
-- W'eau pool heatpump (simple model and a more complex 13kW model)
-
-- these seem to use a small number of common controllers with minor variations, and many other Pool heatpumps will work using the above configurations.
-  Report issues if there are any differences in presets or other features,
-  or if any of the "unknown" values that are returned as attributes can
-  be figured out.
-
-### Water heaters
-
-- Aquatech Rapid/X6 heat pump water heaters
-- Hydrotherm Dynamic/X8 heat pump hot water systems
-- ITS-4.5HD super water heatpump
-- Thermex IF series V pro hot water systems
-
-### Thermostats
-
-- Arlec PCTH01HA temperature/humidity smart switch
-- Avatto WT100 thermostat
-- Awow/Mi-heat TH213 thermostat (two variants)
-- Beca BAC-002 thermostat
-- Beca BHT-002/3000 floor heating thermostat (with external temp sensor)
-- Beca BHP-6000 room heat pump control thermostat
-- Beca BHT-6000/8000 floor heating thermostat
-- Beok TGR81 thermostat (also reported working with Myuet ME98, Avatto WT81/ME81)
-- Beok TOL47 thermostat
-- Beok TR8B thermostat
-- Beok TR9B thermostat _(rebadged as Vancoo and perhaps others)_
-- BHT-002-GALW thermostat _(rebadged as many different brands)_
-- ETOP-HP thermostat (CH7100)
-- ETOP-HT thermostat
-- Hysen HY08ACF thermostat
-- Hysen HY08WE-2 thermostat
-- Inkbird ITC306A thermostat smartplug
-- Inkbird ITC308 thermostat smartplug
-- Jiahong ET-72W thermostat
-- Ledlux thermostat
-- ME80 touchscreen thermostat
-- Minco MH-1823D thermostat
-- Moes BHT-002 thermostat (without external temp sensor)
-- Moes MS-103 temperature and humidity switch (partial functions, temperature only)
-- Nashone MTS-700-WB thermostat smartplug
-- Netmostat N-1 (RTAFN1) thermostat
-- Owon PCT513 thermostat
-- RYRA TYTE-D1 thermostat with energy monitoring
-- Salcar T9W thermostat _(likely also Tellur TSH02)_
-- Saswell C16 thermostat _(rebadged as Warmme, Klima and others)_
-- Saswell T29UTW thermostat
-- T5E-WF thermostat
-
-### Fans
-
-- Anko HEGSM40 fan
-- Arlec ceiling fan and light remote control kit (CFR225HA)
-- Arlec Grid Connect smart ceiling fan (with and without light)
-- Arlec 12 speed tower fan
-- Arlec 19 speed wall fan
-- Arlec 6 speed floor fan
-- Aspen ASP 200 fan
-- Atomi 52 inch ceiling fan
-- Carro PN-04F02D fan with dimmable light
-- Chanfok ceiling fan with cool/warm white dimmable light
-- Deta fan controller
-- Duux Whisper Flex pedestal fan
-- Fanco Eco Silent Deluxe ceiling fan with LED light
-- Goldair GCPF315 fan
-- Goldair Platinum tower fan (2 variants)
-- Immax Neo Lite Vento ceiling fan with light
-- Ledkia fan and light controller
-- Lexy F501 fan
-- Mantra ceiling fan with light
-- Royal Clima RCB 150 ventilation system
-- Skyfan DC fan
-- Skyfan DC fan with light
-- Stirling FS1-40DC pedestal fan
-- Sulion Crixus L ceiling fan with light
-- TMWF02 fan controller
-- Treatlife DS02-F fan switch
-- Treatlife DS03 fan with dimmable light
-- Windcalm ceiling fans with and without cool.warm white dimmable light
-- Yidi/NHZS fan and light wall switch
-
-### Air Purifiers
-
-- Breville Easy Air purifier
-- Breville Smart Air Connect purifier
-- Breville Smart Air Viral Protect Plus purifier
-- essentials portable air purifier
-- Himox H05 and H06 air purifiers
-- Hosome air purifier
-- Kogan air purifier
-- Lifubide X600 air purifier
-- Poiema One air purifier
-- Proscenic A8 air purifier
-- Renpho RP-AP001S air purifier
-- Stadler Form Roger air purifier
-- Tesla Pro and Mini air purifiers
-- Vork VK6067AW air purifier
-
-### Dehumidifiers
-
-- AlecoAir D12 ECO dehumidifier
-- AlecoAir D12/D16 Home dehumidifier
-- AlecoAir D14 purifying dehumidifier
-- AlecoAir D16 purifying dehumidifier
-- Ebac DJ4000 dehumidifier
-- ElectriQ CD12PRO-LE dehumidifier
-- ElectriQ CD12PW dehumidifier
-- ElectriQ CD12PWv2 dehumidifier
-- ElectriQ CD20PRO-LE-V2 dehumidifier
-- ElectriQ CD25PRO-LE-V2 dehumidifier
-- ElectriQ DESD9LW dehumidifier
-- Electriq PD45E dehumidifier
-- Eeese Adam dehumidifier
-- Eeese Carl dehumidifier
-- Eeese Otto dehumidifier
-- Goldair GPDH340 dehumidifier
-- Goldair GPDH420 dehumidifier
-- Honeywell TP(30/50/70) dehumidifiers
-- Hyundai Sahara dehumidifier
-- Inventor Atmosphere XL dehumidifier
-- Inventor Eva Ion Pro dehumidifier
-- JJPro JPD01 dehumidifer
-- JJPro JPD02 dehumidifier
-- Klarstein DryFy Pro Connect dehumidifier
-- Kogan SmarterHome 7L desiccant dehumidifier
-- Shinco 30D dehumidifier (also matches Klarstein DryFy Connect)
-
-### Humidifiers
-
-- BlitzWolf BW-SH2 humidifier
-- BlitzWolf BW-SH5 humidifier
-- Eanons QT-JS2014 purifying humidifier
-- Klarta Humea humidifier
-- Kyvol EA200 humidifier
-- Stadler Eva humidifier
-- Stadler Form Karl/Karl Big humidifier
-- Wetair WAW-H1210LW humidifier
-- Wilfa Haze HU400BC humidifier
-
-### Aroma diffusers
-
-- Asakuki aroma diffuser with light
-- Cadance ultrasonic aroma diffuser with light and music playback
-- Ditua DT-1522-YN aroma diffuser
-- Etersky aroma diffuser with light
-- YYM-805SW aroma diffuser with light (also supports GX Aroma diffuser)
-
-### Kitchen Appliances
-
-- Anko 1.7L smart kettle
-- Setti+ KT950W smart kettle
-- Inkbird iBBQ-4BW cooking probe thermometer
-- Inkbird iBBQ-4T cooking probe thermometer (separate and combined measurement variants)
-- Inkbird IBS-M1S temperature probe hub
-- Inkbird sous vide cooker (also supports Silvercrest sous vide sticks)
-- Kogan glass 1.7L smart kettle
-- Silvercrest 1.7L smart kettle
-- Ultenic K10 air fryer
-
-### Smart Meter/Circuit Breaker
-
-- Aulifants SMES200 energy monitoring breaker switch
-- CBI Astute smart controller breaker switch
-- Compteur digital electric (single phase)
-- DTS238-7 3 phase smart meter
-- eMylo EAI-90 smart meter
-- PC311-TY 2 phase power clamp meter
-- PC321-TY 3 phase power clamp meter
-- PJ-1103 power clamp meter
-- SG600MD Smart Solar Inverter (also SG700MD, other SGxx0MD and SGxx0W models) sold under various brands
-- SmartMCB SMT006 energy meter (10 byte and 8 byte phase info variants)
-- Taxnele circuit breaker and energy meter
-- TOMPD-63LW energy meter circuit breaker
-- WDYK 2P63A energy meter
-- WDYK 3 phase 4 pole 400V energy meter circuit breaker
-
-### Battery Charger
-
-- Parkside PLGS 2012 A1 smart charger for powertools
-
-### SmartPlugs/Wall sockets/Wall switches
-
-Most smartplugs follow a fairly standard template from Tuya, so many
-will work with other brands configs.  However there are many
-permutations of features enabled, and some manufacturers move
-datapoints around so smartplugs take up a lot more configurations than
-such simple devices should.  A future release will look at
-consolidating these into a smaller number of configs.  When you add a device,
-the default selected option for the device type has the most matching
-datapoints, so provided it looks like the same  type of device, it is probably
-the best option.
-
-- Acme SH3305 powerstrip (2 x 3 outlet switch + USB switch)
-- Arlec PB88UHA 4 way powerstrip with child lock
-- Aubess 1-gang switch with energy monitoring
-- Aubess 2-gang switch
-- Blitzwolf BW-SHP6 PRO smartplug with child lock
-- Blitzwolf BW-SHP-9 3 outlet + USB powerstrip
-- Brilliant 1/2/3/4 gang wall switches with power monitoring
-- CBI Astute smart controller
-- DIGOO DG-SP202 dual smartplug with energy monitoring and timers
-- DIGOO DG-SP01 USB smartplug with night light
-- Dual power monitoring smartplug (Geex)
-- Dual power monitoring smartplug v2 (Smatrul, Deltaco)
-- ES01 3 outlet + USB powerstrip with individual timers
-- Gosund P1 3 outlet + USB powerstrip with power monitoring
-- Grid Connect double outlet wall socket
-- Grid Connect double outlet with Energy Monitoring, Master and Individual switches and Child Lock
-- Grid Connect USB charger with power socket
-- Linkoze LKWSW201 dual button
-- Logicom Strippy 4 way power strip with USB
-- Loratap RR400W-V2 relay switch
-- Makegood double power point (sold under AusElectronicsDirect, Cleverlife, Kogan, Ozsmartthings and other brands)
-- MakeGood double switch with timers and power monitoring on whole device
-- Mirabella Genio smartplug with USB
-- Moes 3-gang switch
-- MoesHouse smartplug with RGBW nightlight
-- Novadigital 4-way switch with backlight, power on state and timers
-- Qnect QN-WPO3 3 outlet + USB powerstrip with individual timers
-- Relay switch with 433MHz remote (unbranded)
-- Single switch with backlight (unbranded)
-- Somgam single wall switch
-- Somgam double wall switch
-- Teckin SS42 outdoor double smartplug
-- Tellur 3 outlet + USB power strip with individual timers
-- Woox R4028/DIGOO DG-PS01 3 outlet + USB powerstrip with individual timers
-
-Other brands may work with the above configurations, or the below are
-generic configurations that basically follow Tuya's templates with
-different features enabled, so are known to work with multiple brands
-of device.
-
-- 4 way power monitoring strip (2 types)
-  _confirmed as working with Kogan KASPS10A3P3UA 3 socket + USB powerstrip_
-- 4 way powerstrip with USB
-  _confirmed as working with AOFO ZLD-44EU-W, another variant with Home Awesome device_
-- 4 way powerstrip with USB and restore power state config.
-- Generic smartplug with power monitoring (older models)
-  _confirmed as working with Kogan, Blitzwolf and Gosund single smartplugs (smartplugv1)_
-- Generic smartplug with power monitoring (newer models)
-  _confirmed as working with Kogan single smartplug with USB and Rillpac smartplugs (smartplugv2)_
-- Generic smartplug with power monitoring requiring polling of sensors
-  _same as above smartplugv2, but only reports power/current/voltage when explicitly requested - choose `smartplugv2_polled_power`_
-- Generic smartplug with power monitoring and USB ports
-  _confirmed as working with Gosund SP112 smartplugs_
-- Generic smartplug with more advanced energy monitoring
-  _confirmed working with CBE smartplugs, another variant with child lock, backlight and inching switch confirmed with Aubess and Elivco, and another variant with Gosund UP111-RTL_
-- Generic smartplug with some additional encoded schedule info.
-  _confirmed working as a simple switch and timer with Kashimura KJ-173_
-- Generic double switch with timers (confirmed with Living dual switch and another v2 variant with Avatto dual switch)
-- Generic triple and quad switches (confirmed with Songam wall switches)
-- Generic triple switch with timers.
-- Simple switch - a switch only, can be a fallback for many other unsupported devices, to allow just power to be switched on/off.
-- Simple switch with timer - a single switch and timer, will probably work for a lot of smart switches that are not covered by the more advanced configs above.
-- Simple switch with timer v2 - the above with timer moved from dp 11 to 9, confirmed with a Nexxt 220V smart switch.
-- Simple triple switch - three switches in a single device, tested with Somgam 3 gang wall switches.
-- Simple quad switch - four switches in a single device, tested with Somgam 4 gang wall switches.
-- Simple 6-way switch - six switches in a single device
-- RGB Nightlight outlet - one smartplug with a small built-in RGB light.
-
-### Lights
-
-- Generic CCT lightbulb (supporting color temperature and brightness)
-- Generic dimmable light (2 types, using dp 1,2 and 20,22)
-- Generic RGBCW/RGBWW lightbulb (confirmed with Lijun branded bulb, expected to match others also). Three versions - standard dps layout starting from 20, with and without scene/music modes and timer, and a non-standard layout starting from 1 but following the same pattern (tested with "A60" bulbs).
-- Generic RGBW lightbulb in the non-standard pattern above but without color temperature control.
-- Generic dimmable/color temperature adjustable desktop lamp (confirmed with Setti+ SL601)
-- Atomi smart color string light
-- Deta/Arlec motion sensor lights (DET100HA/DET102HA/MAL315HA)
-- Deta 6910HA series2 dimmer switch
-- Dual-mode magic light string controller
-- Feit dimmer (may work with other brands that just have a switch, dimmer and
-  optional minimum brightness and bulb type)
-- Galaxy Projector
-- HDMI sync light
-- iHD001 LED controller
-- Loginovo TV sync backlight
-- Lytmi Fantasy/Neo 3 HDMI sync backlight
-- Marpou RGBCW ceiling light
-- Moes dimmer switch
-- Moes motion sensor lights (XZ-CGV3)
-- Moes star projector
-- MoesGo dimmer switch
-- Space Dog Music Lamp
-- Tampa Magnetic LED System CD-TY-WY05
-
-### Covers
-
-- Simple garage door
-- Simple blind controller (two variants - `simple_blinds` lets the position be set, but does not trust it to accurately reflect the current position always, `position_blinds` does trust the position to accurately reflect the current position)
-- Abalon BCM700D curtain motor (likely to work with other brands)
-- Avatto curtain and light switch
-- Avatto curtain switch
-- Avatto roller blind controller
-- Benexmart blind motor
-- CCB-11 blind controller
-- CC curtain controller 1
-- Dongguan garage door
-- Dooya curtain motor
-- Etersky curtain switch with backlight and timing control
-- FS-03W curtain switch with backlight control
-- Kogan garage door with tilt sensor
-- Loonas smart curtain
-- LoraTap GDC100W garage door opener
-- LoraTap QCSC420W double curtain switch
-- LoraTap SC500W-V1 curtain switch (supports many other simple curtain/blind controllers)
-- M027 curtain module (sold under several brands, including zemismart, meterk and others)
-- QS-WIFI-C01(BK) curtain module
-- SHerko curtain motor
-- Wistar roller blind controller
-- Zemismart curtain rail
-- Zemismart roller shade
-
-### Vacuum Cleaners
-
-- Kabum Smart 500 vacuum cleaner
-- Kabum Smart 700 vacuum cleaner (also sold as Liectroux XR500 and maybe others)
-- Kogan LX10 vacuum cleaner with mop
-- Kyvol E30 vacuum cleaner
-- Lefant LS1 Pro vacuum cleaner
-- Lefant M213 vacuum cleaner (also works for Lefant M213S and APOSEN A550)
-- Lenovo E1 vacuum cleaner
-- Mellerware City Move vacuum cleaner
-- Proscenic M9 vacuum cleaner
-- Rinkmo D2 vacuum cleaner
-
-### Lawnmowers
-
-- MoeBot S-series mowers (may require protocol version set manually to 3.4)
-
-### Locks
-
-- AGL Ultramagic smart lock
-- Lucking HF06 smart lock
-- Orion Grid Connect smart lock
-
-### Sirens
-
-- Iebeyond ECH doorbell with 433MHz RF hub
-- Neo Coolcam Siren with temperature and humidity alert (NAS-AB02W)
-- Orion Grid Connect outdoor siren (also Elesion NX-4980)
-
-### Doorbells
-
-- WHM-04 doorbell (sold under various brands)
-
-### Cameras
-
-Note that this integration does not include any support for video
-streams.  Some cameras that provide local feeds may be able to be
-configured using RTSP or ONVIF feeds if they have static IP address,
-port and password.
-
-- BCom Majic IPBox intercom camera
-- Nedis outdoor camera
-- RL video intercom (reported unable to connect)
-
-### Alarm control panels
-
-- BlitzWolf BW-IS6 security alarm system
-- GauTone PG-103 security alarm system
-- ZX-DB11 doorbell and alarm system
-- ZX-G30 alarm system
-
-### Miscellaneous
-
-- generic PIR motion sensor
-- generic illuminance sensor
-- ASIP-0622 indoor planter
-- Aubess Rainpoint TTP106W irrigation system
-- Brennenstuhl WFD3050P PIR motion activated CCT spotlight
-- Bresser smart 7-in-1 weather station
-- Catit Pixi smart fountain
-- Catit pet feeder (Pixi 2.2kg dispenser and 6 meal versions, and another non-Pixi branded single dispenser)
-- Ceres Plus pet feeder with camera
-- CO2-Box air quality monitor
-- Emax EM3378 Weather Station (selling as Hiper P1 and other rebrands)
-- Garza Wi-Fi garden irrigation system (ITV103W with 433MHz WiFi hub)
-- Holman WX1 tap timer (sprinkler controller)
-- Inkbird PTH-9CW air quality monitor
-- KKMoon 7in1 air quality monitor
-- Kogan bidet toilet seat
-- Konlen/Rockson WF96L water level controller
-- Mirabella Genio motion sensor
-- Nedis pet feeder
-- Nedis WIFISA10CWT air quality monitor
-- Petlibro PLAF203 camera pet feeder
-- PGST PA-010 indoor temperature and humidity sensor
-- PH-W218 water quality monitor
-- PV28-CW 8 in 1 air quality monitor
-- Rojeco PTM-001 pet feeder
-- Qoto 03 smart water valve / sprinkler controller
-- SD123 HPR01 human presence radar
-- SH07-8 smart sprinkler controller
-- TH08 temperature and humidity sensor
-- TH16 temperature and humidity sensor 
-- Tontine electric blanket
-- Universal remote control (supports sensors only)
-- Yieryi water quality monitor (also matches unbranded PH-W3988 device)
-- Yinmik WF-3188 water quality monitor
-- ZN-2C09 9-in-1 air quality monitor
-- ZX-GS21 gas leak alarm monitor
-- ZY-M100-WiFi mmWave human presence sensor
-
-### Devices supported via Bluetooth hubs
-
-- Adaprox Fingerbot plus
-- Diivoo WT05 dual water timer
-- HCT-611 water timer
-- HU06 smart lock
-- Orion DL021HA lock
-- PT216/PT19DB-2 temperature and humidity sensor
-- Smart Ape solar garden light
-- Generic water timers (confirmed with Johgee and Diivoo branded devices)
-
-### Devices supported via IR hubs
-
-- Air conditioner / heatpump via Moes IR hub
-- Neo IR Air Conditioner controller
-
-### Devices supported via Zigbee hubs
-
-- LoraTap SC500ZB-V2 curtain controller
-- Nedis ZBSC10WT temperature and humidity sensor
-- ZTH08ZTU temperature and humidity sensor
-
-NOTE: this project does not intend to expand the scope to support non-Tuya
-devices via Tuya hubs.  Though it may be techincally feasible to do such a
-thing, it expands the support requirements beyond the capacity of the
-volunteer manpower of this project.  The community would be better served by
-making Tuya devices work with the standard BLE and Zigbee support in
-Home Assistant rather than the other way around.
+# Supported devices
+
+### Heaters
+
+- Andersson GSH heater
+- Arlec 2200W and 2400W panel heaters
+- Atomi AT1632 ceramic heater
+- Betterlife BT1500 IR heater
+- BVF CP1 heater
+- Devola patio heater
+- Ecostrad Accent iQ heating panels
+- Ecostrad iQ ceramic radiators
+- Eurom Mon Soleil 300,600,800, 350,601,720 and 300,450,720 Verre heaters
+- Eurom Sani Wall Heat 2000 heater
+- Eurom Wall Designheat 2000 heater
+- Goldair heater models beginning with the code GPPH, GCPV, GECO
+- Heatstorm HS-6000-GC heavy duty heater
+- HJZ oil column radiator
+- INOW Wi-Fi heating element (single and dual air/water temperature control variants)
+- Kogan flame effect heater - KAWHMFP20BA model
+- Kogan tower heater - KASTHFP2KWA model
+- Kogan Wi-Fi convection panel heaters - KAHTP and KAWFHTP models
+- Nedis convection heater - WIFIHTPL20F model
+- Orion OWH-PTC2000 heater
+- Princess 350 panel heater
+- Purline Hoti M100 heater
+- Rumba bathroom heater
+- Wetair WCH-750 heater
+
+### Air Conditioners / Heatpumps
+
+- Be Cool BC14KL2101F
+- Carson CB PA280
+- Cooper&Hunter Nordic Evo Ng
+- Costway portable air conditioner
+- Daewoo Dhome OL-A011 air conditioner (DA9KWE)
+- Daizuki heat pump
+- Duux Blizzard portable air conditioner
+- Eberg Cooly C35HD
+- Eberg Qubo Q40HD
+- ElectriQ 12WMINV
+- ElectriQ Airflex 15W
+- ElectriQ EcoSilent 14HPW
+- Fersk Vind 2
+- Kogan 2.6kW portable air conditioner
+- Lyfco OL-A012 air conditioner
+- Monzana Klimaanlage air conditioner
+- Nedis ACMB1WT12 portable air conditioner
+- Rotenso Roni R35WI
+- Sencor MT7048C air conditioner
+- Sendo air conditioner
+- Star-Light air conditioner (also confirmed to work with Polar branded devices)
+- Tadiran Wind 65/3P
+- TroniTechnik Hellnar Klimagerät
+- Vivax Cool ACP-12CH35REWI
+- Woods Milan portable air conditioner
+
+### Pool heaters / heatpumps
+
+- BWT FI 45 heatpump
+- Fairland IPHCR15 pool heatpump (matches others above, but allows control of heat/cool modes while others seem to be fixed to auto only)
+- Garden PAC pool heatpump (also works with Summerwave Si Series)
+- IPS Pro pool-systems heatpump (seems to match Fairland Inver-X as well)
+- Madimack Elite V3 pool heatpump
+- Madimack(model unknown) pool heatpump (seems to match Fairland IPH45 as well)
+- Poolex Silverline, Q-7, Q-line and Vertigo heatpumps
+- Remora pool heatpump
+- W'eau pool heatpump (simple model and a more complex 13kW model)
+
+- these seem to use a small number of common controllers with minor variations, and many other Pool heatpumps will work using the above configurations.
+  Report issues if there are any differences in presets or other features,
+  or if any of the "unknown" values that are returned as attributes can
+  be figured out.
+
+### Water heaters
+
+- Aquatech Rapid/X6 heat pump water heaters
+- Hydrotherm Dynamic/X8 heat pump hot water systems
+- ITS-4.5HD super water heatpump
+- Thermex IF series V pro hot water systems
+
+### Thermostats
+
+- Arlec PCTH01HA temperature/humidity smart switch
+- Avatto WT100 thermostat
+- Awow/Mi-heat TH213 thermostat (two variants)
+- Beca BAC-002 thermostat
+- Beca BHT-002/3000 floor heating thermostat (with external temp sensor)
+- Beca BHP-6000 room heat pump control thermostat
+- Beca BHT-6000/8000 floor heating thermostat
+- Beok TGR81 thermostat (also reported working with Myuet ME98, Avatto WT81/ME81)
+- Beok TOL47 thermostat
+- Beok TR8B thermostat
+- Beok TR9B thermostat _(rebadged as Vancoo and perhaps others)_
+- BHT-002-GALW thermostat _(rebadged as many different brands)_
+- ETOP-HP thermostat (CH7100)
+- ETOP-HT thermostat
+- Hysen HY08ACF thermostat
+- Hysen HY08WE-2 thermostat
+- Inkbird ITC306A thermostat smartplug
+- Inkbird ITC308 thermostat smartplug
+- Jiahong ET-72W thermostat
+- Ledlux thermostat
+- ME80 touchscreen thermostat
+- Minco MH-1823D thermostat
+- Moes BHT-002 thermostat (without external temp sensor)
+- Moes MS-103 temperature and humidity switch (partial functions, temperature only)
+- Nashone MTS-700-WB thermostat smartplug
+- Netmostat N-1 (RTAFN1) thermostat
+- Owon PCT513 thermostat
+- RYRA TYTE-D1 thermostat with energy monitoring
+- Salcar T9W thermostat _(likely also Tellur TSH02)_
+- Saswell C16 thermostat _(rebadged as Warmme, Klima and others)_
+- Saswell T29UTW thermostat
+- T5E-WF thermostat
+
+### Fans
+
+- Anko HEGSM40 fan
+- Arlec ceiling fan and light remote control kit (CFR225HA)
+- Arlec Grid Connect smart ceiling fan (with and without light)
+- Arlec 12 speed tower fan
+- Arlec 19 speed wall fan
+- Arlec 6 speed floor fan
+- Aspen ASP 200 fan
+- Atomi 52 inch ceiling fan
+- Carro PN-04F02D fan with dimmable light
+- Chanfok ceiling fan with cool/warm white dimmable light
+- Deta fan controller
+- Duux Whisper Flex pedestal fan
+- Fanco Eco Silent Deluxe ceiling fan with LED light
+- Goldair GCPF315 fan
+- Goldair Platinum tower fan (2 variants)
+- Immax Neo Lite Vento ceiling fan with light
+- Ledkia fan and light controller
+- Lexy F501 fan
+- Mantra ceiling fan with light
+- Royal Clima RCB 150 ventilation system
+- Skyfan DC fan
+- Skyfan DC fan with light
+- Stirling FS1-40DC pedestal fan
+- Sulion Crixus L ceiling fan with light
+- TMWF02 fan controller
+- Treatlife DS02-F fan switch
+- Treatlife DS03 fan with dimmable light
+- Windcalm ceiling fans with and without cool.warm white dimmable light
+- Yidi/NHZS fan and light wall switch
+
+### Air Purifiers
+
+- Breville Easy Air purifier
+- Breville Smart Air Connect purifier
+- Breville Smart Air Viral Protect Plus purifier
+- essentials portable air purifier
+- Himox H05 and H06 air purifiers
+- Hosome air purifier
+- Kogan air purifier
+- Lifubide X600 air purifier
+- Poiema One air purifier
+- Proscenic A8 air purifier
+- Renpho RP-AP001S air purifier
+- Stadler Form Roger air purifier
+- Tesla Pro and Mini air purifiers
+- Vork VK6067AW air purifier
+
+### Dehumidifiers
+
+- AlecoAir D12 ECO dehumidifier
+- AlecoAir D12/D16 Home dehumidifier
+- AlecoAir D14 purifying dehumidifier
+- AlecoAir D16 purifying dehumidifier
+- Ebac DJ4000 dehumidifier
+- ElectriQ CD12PRO-LE dehumidifier
+- ElectriQ CD12PW dehumidifier
+- ElectriQ CD12PWv2 dehumidifier
+- ElectriQ CD20PRO-LE-V2 dehumidifier
+- ElectriQ CD25PRO-LE-V2 dehumidifier
+- ElectriQ DESD9LW dehumidifier
+- Electriq PD45E dehumidifier
+- Eeese Adam dehumidifier
+- Eeese Carl dehumidifier
+- Eeese Otto dehumidifier
+- Goldair GPDH340 dehumidifier
+- Goldair GPDH420 dehumidifier
+- Honeywell TP(30/50/70) dehumidifiers
+- Hyundai Sahara dehumidifier
+- Inventor Atmosphere XL dehumidifier
+- Inventor Eva Ion Pro dehumidifier
+- JJPro JPD01 dehumidifer
+- JJPro JPD02 dehumidifier
+- Klarstein DryFy Pro Connect dehumidifier
+- Kogan SmarterHome 7L desiccant dehumidifier
+- Shinco 30D dehumidifier (also matches Klarstein DryFy Connect)
+
+### Humidifiers
+
+- BlitzWolf BW-SH2 humidifier
+- BlitzWolf BW-SH5 humidifier
+- Eanons QT-JS2014 purifying humidifier
+- Klarta Humea humidifier
+- Kyvol EA200 humidifier
+- Stadler Eva humidifier
+- Stadler Form Karl/Karl Big humidifier
+- Wetair WAW-H1210LW humidifier
+- Wilfa Haze HU400BC humidifier
+
+### Aroma diffusers
+
+- Asakuki aroma diffuser with light
+- Cadance ultrasonic aroma diffuser with light and music playback
+- Ditua DT-1522-YN aroma diffuser
+- Etersky aroma diffuser with light
+- YYM-805SW aroma diffuser with light (also supports GX Aroma diffuser)
+
+### Kitchen Appliances
+
+- Anko 1.7L smart kettle
+- Setti+ KT950W smart kettle
+- Inkbird iBBQ-4BW cooking probe thermometer
+- Inkbird iBBQ-4T cooking probe thermometer (separate and combined measurement variants)
+- Inkbird IBS-M1S temperature probe hub
+- Inkbird sous vide cooker (also supports Silvercrest sous vide sticks)
+- Kogan glass 1.7L smart kettle
+- Silvercrest 1.7L smart kettle
+- Ultenic K10 air fryer
+
+### Smart Meter/Circuit Breaker
+
+- Aulifants SMES200 energy monitoring breaker switch
+- CBI Astute smart controller breaker switch
+- Compteur digital electric (single phase)
+- DTS238-7 3 phase smart meter
+- eMylo EAI-90 smart meter
+- PC311-TY 2 phase power clamp meter
+- PC321-TY 3 phase power clamp meter
+- PJ-1103 power clamp meter
+- SG600MD Smart Solar Inverter (also SG700MD, other SGxx0MD and SGxx0W models) sold under various brands
+- SmartMCB SMT006 energy meter (10 byte and 8 byte phase info variants)
+- Taxnele circuit breaker and energy meter
+- TOMPD-63LW energy meter circuit breaker
+- WDYK 2P63A energy meter
+- WDYK 3 phase 4 pole 400V energy meter circuit breaker
+
+### Battery Charger
+
+- Parkside PLGS 2012 A1 smart charger for powertools
+
+### SmartPlugs/Wall sockets/Wall switches
+
+Most smartplugs follow a fairly standard template from Tuya, so many
+will work with other brands configs.  However there are many
+permutations of features enabled, and some manufacturers move
+datapoints around so smartplugs take up a lot more configurations than
+such simple devices should.  A future release will look at
+consolidating these into a smaller number of configs.  When you add a device,
+the default selected option for the device type has the most matching
+datapoints, so provided it looks like the same  type of device, it is probably
+the best option.
+
+- Acme SH3305 powerstrip (2 x 3 outlet switch + USB switch)
+- Arlec PB88UHA 4 way powerstrip with child lock
+- Aubess 1-gang switch with energy monitoring
+- Aubess 2-gang switch
+- Blitzwolf BW-SHP6 PRO smartplug with child lock
+- Blitzwolf BW-SHP-9 3 outlet + USB powerstrip
+- Brilliant 1/2/3/4 gang wall switches with power monitoring
+- CBI Astute smart controller
+- DIGOO DG-SP202 dual smartplug with energy monitoring and timers
+- DIGOO DG-SP01 USB smartplug with night light
+- Dual power monitoring smartplug (Geex)
+- Dual power monitoring smartplug v2 (Smatrul, Deltaco)
+- ES01 3 outlet + USB powerstrip with individual timers
+- Gosund P1 3 outlet + USB powerstrip with power monitoring
+- Grid Connect double outlet wall socket
+- Grid Connect double outlet with Energy Monitoring, Master and Individual switches and Child Lock
+- Grid Connect USB charger with power socket
+- Linkoze LKWSW201 dual button
+- Logicom Strippy 4 way power strip with USB
+- Loratap RR400W-V2 relay switch
+- Makegood double power point (sold under AusElectronicsDirect, Cleverlife, Kogan, Ozsmartthings and other brands)
+- MakeGood double switch with timers and power monitoring on whole device
+- Mirabella Genio smartplug with USB
+- Moes 3-gang switch
+- MoesHouse smartplug with RGBW nightlight
+- Novadigital 4-way switch with backlight, power on state and timers
+- Qnect QN-WPO3 3 outlet + USB powerstrip with individual timers
+- Relay switch with 433MHz remote (unbranded)
+- Single switch with backlight (unbranded)
+- Somgam single wall switch
+- Somgam double wall switch
+- Teckin SS42 outdoor double smartplug
+- Tellur 3 outlet + USB power strip with individual timers
+- Woox R4028/DIGOO DG-PS01 3 outlet + USB powerstrip with individual timers
+
+Other brands may work with the above configurations, or the below are
+generic configurations that basically follow Tuya's templates with
+different features enabled, so are known to work with multiple brands
+of device.
+
+- 4 way power monitoring strip (2 types)
+  _confirmed as working with Kogan KASPS10A3P3UA 3 socket + USB powerstrip_
+- 4 way powerstrip with USB
+  _confirmed as working with AOFO ZLD-44EU-W, another variant with Home Awesome device_
+- 4 way powerstrip with USB and restore power state config.
+- Generic smartplug with power monitoring (older models)
+  _confirmed as working with Kogan, Blitzwolf and Gosund single smartplugs (smartplugv1)_
+- Generic smartplug with power monitoring (newer models)
+  _confirmed as working with Kogan single smartplug with USB and Rillpac smartplugs (smartplugv2)_
+- Generic smartplug with power monitoring requiring polling of sensors
+  _same as above smartplugv2, but only reports power/current/voltage when explicitly requested - choose `smartplugv2_polled_power`_
+- Generic smartplug with power monitoring and USB ports
+  _confirmed as working with Gosund SP112 smartplugs_
+- Generic smartplug with more advanced energy monitoring
+  _confirmed working with CBE smartplugs, another variant with child lock, backlight and inching switch confirmed with Aubess and Elivco, and another variant with Gosund UP111-RTL_
+- Generic smartplug with some additional encoded schedule info.
+  _confirmed working as a simple switch and timer with Kashimura KJ-173_
+- Generic double switch with timers (confirmed with Living dual switch and another v2 variant with Avatto dual switch)
+- Generic triple and quad switches (confirmed with Songam wall switches)
+- Generic triple switch with timers.
+- Simple switch - a switch only, can be a fallback for many other unsupported devices, to allow just power to be switched on/off.
+- Simple switch with timer - a single switch and timer, will probably work for a lot of smart switches that are not covered by the more advanced configs above.
+- Simple switch with timer v2 - the above with timer moved from dp 11 to 9, confirmed with a Nexxt 220V smart switch.
+- Simple triple switch - three switches in a single device, tested with Somgam 3 gang wall switches.
+- Simple quad switch - four switches in a single device, tested with Somgam 4 gang wall switches.
+- Simple 6-way switch - six switches in a single device
+- RGB Nightlight outlet - one smartplug with a small built-in RGB light.
+
+### Lights
+
+- Generic CCT lightbulb (supporting color temperature and brightness)
+- Generic dimmable light (2 types, using dp 1,2 and 20,22)
+- Generic RGBCW/RGBWW lightbulb (confirmed with Lijun branded bulb, expected to match others also). Three versions - standard dps layout starting from 20, with and without scene/music modes and timer, and a non-standard layout starting from 1 but following the same pattern (tested with "A60" bulbs).
+- Generic RGBW lightbulb in the non-standard pattern above but without color temperature control.
+- Generic dimmable/color temperature adjustable desktop lamp (confirmed with Setti+ SL601)
+- Atomi smart color string light
+- Deta/Arlec motion sensor lights (DET100HA/DET102HA/MAL315HA)
+- Deta 6910HA series2 dimmer switch
+- Dual-mode magic light string controller
+- Feit dimmer (may work with other brands that just have a switch, dimmer and
+  optional minimum brightness and bulb type)
+- Galaxy Projector
+- HDMI sync light
+- iHD001 LED controller
+- Loginovo TV sync backlight
+- Lytmi Fantasy/Neo 3 HDMI sync backlight
+- Marpou RGBCW ceiling light
+- Moes dimmer switch
+- Moes motion sensor lights (XZ-CGV3)
+- Moes star projector
+- MoesGo dimmer switch
+- Space Dog Music Lamp
+- Tampa Magnetic LED System CD-TY-WY05
+
+### Covers
+
+- Simple garage door
+- Simple blind controller (two variants - `simple_blinds` lets the position be set, but does not trust it to accurately reflect the current position always, `position_blinds` does trust the position to accurately reflect the current position)
+- Abalon BCM700D curtain motor (likely to work with other brands)
+- Avatto curtain and light switch
+- Avatto curtain switch
+- Avatto roller blind controller
+- Benexmart blind motor
+- CCB-11 blind controller
+- CC curtain controller 1
+- Dongguan garage door
+- Dooya curtain motor
+- Etersky curtain switch with backlight and timing control
+- FS-03W curtain switch with backlight control
+- Kogan garage door with tilt sensor
+- Loonas smart curtain
+- LoraTap GDC100W garage door opener
+- LoraTap QCSC420W double curtain switch
+- LoraTap SC500W-V1 curtain switch (supports many other simple curtain/blind controllers)
+- M027 curtain module (sold under several brands, including zemismart, meterk and others)
+- QS-WIFI-C01(BK) curtain module
+- SHerko curtain motor
+- Wistar roller blind controller
+- Zemismart curtain rail
+- Zemismart roller shade
+
+### Vacuum Cleaners
+
+- Kabum Smart 500 vacuum cleaner
+- Kabum Smart 700 vacuum cleaner (also sold as Liectroux XR500 and maybe others)
+- Kogan LX10 vacuum cleaner with mop
+- Kyvol E30 vacuum cleaner
+- Lefant LS1 Pro vacuum cleaner
+- Lefant M213 vacuum cleaner (also works for Lefant M213S and APOSEN A550)
+- Lenovo E1 vacuum cleaner
+- Mellerware City Move vacuum cleaner
+- Proscenic M9 vacuum cleaner
+- Rinkmo D2 vacuum cleaner
+
+### Lawnmowers
+

+- MoeBot S-series mowers (may require protocol version set manually to 3.4)
+
+### Locks
+
+- AGL Ultramagic smart lock
+- Lucking HF06 smart lock
+- Orion Grid Connect smart lock
+
+### Sirens
+
+- Iebeyond ECH doorbell with 433MHz RF hub
+- Neo Coolcam Siren with temperature and humidity alert (NAS-AB02W)
+- Orion Grid Connect outdoor siren (also Elesion NX-4980)
+
+### Doorbells
+
+- WHM-04 doorbell (sold under various brands)
+
+### Cameras
+
+Note that this integration does not include any support for video
+streams.  Some cameras that provide local feeds may be able to be
+configured using RTSP or ONVIF feeds if they have static IP address,
+port and password.
+
+- BCom Majic IPBox intercom camera
+- Nedis outdoor camera
+- Pinelake BF02 birdfeeder camera
+- RL video intercom (reported unable to connect)
+
+### Alarm control panels
+
+- BlitzWolf BW-IS6 security alarm system
+- GauTone PG-103 security alarm system
+- ZX-DB11 doorbell and alarm system
+- ZX-G30 alarm system
+
+### Miscellaneous
+
+- generic PIR motion sensor
+- generic illuminance sensor
+- ASIP-0622 indoor planter
+- Aubess Rainpoint TTP106W irrigation system
+- Brennenstuhl WFD3050P PIR motion activated CCT spotlight
+- Bresser smart 7-in-1 weather station
+- Catit Pixi smart fountain
+- Catit pet feeder (Pixi 2.2kg dispenser and 6 meal versions, and another non-Pixi branded single dispenser)
+- Ceres Plus pet feeder with camera
+- CO2-Box air quality monitor
+- Emax EM3378 Weather Station (selling as Hiper P1 and other rebrands)
+- Garza Wi-Fi garden irrigation system (ITV103W with 433MHz WiFi hub)
+- Holman WX1 tap timer (sprinkler controller)
+- Inkbird PTH-9CW air quality monitor
+- KKMoon 7in1 air quality monitor
+- Kogan bidet toilet seat
+- Konlen/Rockson WF96L water level controller
+- Mirabella Genio motion sensor
+- Nedis pet feeder
+- Nedis WIFISA10CWT air quality monitor
+- Petlibro PLAF203 camera pet feeder
+- PGST PA-010 indoor temperature and humidity sensor
+- PH-W218 water quality monitor
+- PV28-CW 8 in 1 air quality monitor
+- Rojeco PTM-001 pet feeder
+- Qoto 03 smart water valve / sprinkler controller
+- SD123 HPR01 human presence radar
+- SH07-8 smart sprinkler controller
+- TH08 temperature and humidity sensor
+- TH16 temperature and humidity sensor 
+- Tontine electric blanket
+- Universal remote control (supports sensors only)
+- Yieryi water quality monitor (also matches unbranded PH-W3988 device)
+- Yinmik WF-3188 water quality monitor
+- ZN-2C09 9-in-1 air quality monitor
+- ZX-GS21 gas leak alarm monitor
+- ZY-M100-WiFi mmWave human presence sensor
+
+### Devices supported via Bluetooth hubs
+
+- Adaprox Fingerbot plus
+- Diivoo WT05 dual water timer
+- HCT-611 water timer
+- HU06 smart lock
+- Orion DL021HA lock
+- PT216/PT19DB-2 temperature and humidity sensor
+- Smart Ape solar garden light
+- Generic water timers (confirmed with Johgee and Diivoo branded devices)
+
+### Devices supported via IR hubs
+
+- Air conditioner / heatpump via Moes IR hub
+- Neo IR Air Conditioner controller
+
+### Devices supported via Zigbee hubs
+
+- LoraTap SC500ZB-V2 curtain controller
+- Nedis ZBSC10WT temperature and humidity sensor
+- ZTH08ZTU temperature and humidity sensor
+
+NOTE: this project does not intend to expand the scope to support non-Tuya
+devices via Tuya hubs.  Though it may be techincally feasible to do such a
+thing, it expands the support requirements beyond the capacity of the
+volunteer manpower of this project.  The community would be better served by
+making Tuya devices work with the standard BLE and Zigbee support in
+Home Assistant rather than the other way around.

+ 36 - 40
custom_components/tuya_local/devices/pinelake_birdfeeder.yaml

@@ -10,17 +10,21 @@ primary_entity:
       type: boolean
       optional: true
       force: true
+    - id: 134
+      type: boolean
+      name: motion_enable
+      optional: true
+      force: true
 secondary_entities:
   - entity: switch
     name: Siren
+    icon: "mdi:bullhorn"
     dps:
       - id: 159
         type: boolean
         name: switch
-        optional: true
-        force: true
-  - entity: switch
-    name: Light indicator
+  - entity: light
+    name: Indicator
     category: config
     icon: "mdi:led-on"
     dps:
@@ -30,47 +34,36 @@ secondary_entities:
         optional: true
         force: true
   - entity: sensor
-    name: Battery level
     class: battery
     dps:
       - id: 145
         type: integer
         name: sensor
         unit: "%"
-        optional: true
-        force: true
-  - entity: select
-    name: Power supply
+  - entity: binary_sensor
+    class: plug
     category: diagnostic
     dps:
       - id: 146
         type: string
-        name: option
+        name: sensor
         mapping:
           - dps_val: "0"
-            value: "Battery"
+            value: false
           - dps_val: "1"
-            value: "AC"
-        optional: true
-        force: true
-        readonly: true
-  - entity: select
-    name: Device state
+            value: true
+  - entity: binary_sensor
     category: diagnostic
+    class: running
     dps:
       - id: 149
         type: boolean
-        name: option
-        mapping:
-          - dps_val: false
-            value: "Dormant"
-          - dps_val: true
-            value: "Waking"
+        name: sensor
         optional: true
         force: true
-        readonly: true
   - entity: switch
-    name: Vision flip
+    name: Flip image
+    icon: "mdi:flip-horizontal"
     category: config
     dps:
       - id: 103
@@ -81,6 +74,7 @@ secondary_entities:
   - entity: switch
     name: OSD watermark
     category: config
+    icon: "mdi:watermark"
     dps:
       - id: 104
         type: boolean
@@ -90,6 +84,7 @@ secondary_entities:
   - entity: select
     name: Night vision
     category: config
+    icon: "mdi:theme-light-dark"
     dps:
       - id: 108
         type: string
@@ -103,18 +98,10 @@ secondary_entities:
             value: "On"
         optional: true
         force: true
-  - entity: switch
-    name: Motion detection
-    category: config
-    dps:
-      - id: 134
-        type: boolean
-        name: switch
-        optional: true
-        force: true
   - entity: select
     name: Motion sensitivity
     category: config
+    icon: "mdi:motion-sensor"
     dps:
       - id: 106
         type: string
@@ -131,6 +118,7 @@ secondary_entities:
   - entity: switch
     name: Motion Detection Timer
     category: config
+    icon: "mdi:motion-sensor"
     dps:
       - id: 135
         type: boolean
@@ -138,8 +126,9 @@ secondary_entities:
         optional: true
         force: true
   - entity: switch
-    name: Record1
+    name: Motion record
     category: config
+    icon: "mdi:record-rec"
     dps:
       - id: 137
         type: boolean
@@ -147,11 +136,18 @@ secondary_entities:
         optional: true
         force: true
   - entity: sensor
-    name: Message
+    name: SD card status
     category: diagnostic
+    icon: "mdi:micro-sd"
     dps:
-      - id: 212
-        type: string
+      - id: 110
+        type: integer
+        name: sensor
+  - entity: binary_sensor
+    name: Alarm linkage
+    class: connectivity
+    category: diagnostic
+    dps:
+      - id: 246
+        type: boolean
         name: sensor
-        optional: true
-        force: true