What happens is that the DomoticzEx.Unit().Create() method executes successful (no error reported) and there is an entry in the DeviceStatus table. However, the ID column (first column) is not filled:
Code: Select all
|20|54200DSN196R0358|14|Inverter input 1 power (SN: 54200DSN196R0358)||243|29|0||12|255|0| 0.0; 0.00||||||||||||||
|20|54200DSN196R0358|7|Inverter input 2 voltage (SN: 54200DSN196R0358)||243|8|0||12|255|0|0V||||||||||||||
|20|54200DSN196R0358|8|Inverter input 2 Current (SN: 54200DSN196R0358)||243|23|0||12|255|0|0A||||||||||||||
|20|54200DSN196R0358|15|Inverter input 2 power (SN: 54200DSN196R0358)||243|29|0||12|255|0| 0.0; 0.00||||||||||||||
Running (now) on build 15697, started a couple of days back (not sure which build but it should be a relatively new one as I update regularly). Running RPi 3B on BullsEye.
You can reproduce it by creating a small plugin that adds 1 unit to a device, for example with this plugin