Weird thing is that the deactivated entities (in the new KEBA platform) had good looking names yesterday, but not now.
The keba logo starts appearing as soon as I change the name to something shorter. This behaviour is consistent. When installing the component, I first get the card with the wrong logo/name, then after refresh it is empty, and after a name change the logo appears. Iām running HA 2021.12.4. I should probably start by updating to the latest.
How do I know what the proper target name for notify is? However, there is an error message in the log regarding the notification part:
Here are the output from cli.py. (I redacted the s/n.)
Output
2022-01-02 15:43:42,970 [MainThread ] [DEBUG] Using selector: EpollSelector
2022-01-02 15:43:42,971 [MainThread ] [INFO ] Run Keba CLI in client mode to connect to given IP addresses.
2022-01-02 15:43:42,971 [MainThread ] [DEBUG] Requesting device info from 10.0.20.96
2022-01-02 15:43:42,971 [MainThread ] [DEBUG] Send report 1 to 10.0.20.96
2022-01-02 15:43:42,971 [MainThread ] [DEBUG] Socket binding created (0.0.0.0) and listening started on port 7090.
2022-01-02 15:43:42,977 [MainThread ] [DEBUG] Datagram recvied from ('10.0.20.96', 7090): '{\n"ID": "1",\n"Product": "KC-P30-EC2201C2-E00-CL",\n"Serial": "18xxxxxx",\n"Firmware":"P30 v 3.10.28 (210316-115052)",\n"COM-module": 1,\n"Backend": 0,\n"timeQ": 3,\n"DIP-Sw1": "0x22",\n"DIP-Sw2": "0x08",\n"Sec": 5423029\n}\n'
2022-01-02 15:43:42,977 [MainThread ] [DEBUG] Received something from a not yet registered wallbox.
2022-01-02 15:43:43,072 [MainThread ] [DEBUG] Start connecting to 10.0.20.96
2022-01-02 15:43:43,072 [MainThread ] [DEBUG] Requesting device info from 10.0.20.96
2022-01-02 15:43:43,072 [MainThread ] [DEBUG] Send report 1 to 10.0.20.96
2022-01-02 15:43:43,078 [MainThread ] [DEBUG] Datagram recvied from ('10.0.20.96', 7090): '{\n"ID": "1",\n"Product": "KC-P30-EC2201C2-E00-CL",\n"Serial": "18xxxxxx",\n"Firmware":"P30 v 3.10.28 (210316-115052)",\n"COM-module": 1,\n"Backend": 0,\n"timeQ": 3,\n"DIP-Sw1": "0x22",\n"DIP-Sw2": "0x08",\n"Sec": 5423029\n}\n'
2022-01-02 15:43:43,078 [MainThread ] [DEBUG] Received something from a not yet registered wallbox.
2022-01-02 15:43:43,174 [MainThread ] [INFO ] KEBA Wallbox (Serial: 18xxxxxxxx) at 10.0.20.96 successfully connected.
manufacturer: KEBA
model: P30
device_id (serial number): 18xxxxxxxx
firmware version: P30 v 3.10.28 (210316-115052)
host: 10.0.20.96
2022-01-02 15:43:43,174 [MainThread ] [DEBUG] Send report 2 to 10.0.20.96
2022-01-02 15:43:43,178 [MainThread ] [DEBUG] Datagram recvied from ('10.0.20.96', 7090): '{\n"ID": "2",\n"State": 2,\n"Error1": 0,\n"Error2": 0,\n"Plug": 7,\n"AuthON": 0,\n"Authreq": 0,\n"Enable sys": 1,\n"Enable user": 1,\n"Max curr": 6000,\n"Max curr %": 100,\n"Curr HW": 16000,\n"Curr user": 6000,\n"Curr FS": 0,\n"Tmo FS": 0,\n"Curr timer": 6000,\n"Tmo CT": 0,\n"Setenergy": 0,\n"Output": 0,\n"Input": 0,\n"Serial": "18xxxxxxxx",\n"Sec": 5423029\n}\n'
2022-01-02 15:43:43,179 [MainThread ] [DEBUG] Datagram received, starting to process.
2022-01-02 15:43:43,275 [MainThread ] [DEBUG] Send report 3 to 10.0.20.96
2022-01-02 15:43:43,280 [MainThread ] [DEBUG] Datagram recvied from ('10.0.20.96', 7090): '{\n"ID": "3",\n"U1": 234,\n"U2": 233,\n"U3": 234,\n"I1": 0,\n"I2": 0,\n"I3": 0,\n"P": 0,\n"PF": 0,\n"E pres": 126301,\n"E total": 73993771,\n"Serial": "18xxxxxxxx",\n"Sec": 5423030\n}\n'
2022-01-02 15:43:43,280 [MainThread ] [DEBUG] Datagram received, starting to process.
callback function 1: 18xxxxxxxx: {'ID': '3', 'State': 2, 'Error1': 0, 'Error2': 0, 'Plug': 7, 'AuthON': 0, 'Authreq': 0, 'Enable sys': 1, 'Enable user': 1, 'Max curr': 6.0, 'Max curr %': 10.0, 'Curr HW': 16.0, 'Curr user': 6.0, 'Curr FS': 0.0, 'Tmo FS': 0, 'Curr timer': 6.0, 'Tmo CT': 0, 'Setenergy': 0.0, 'Output': 0, 'Input': 0, 'Serial': '18xxxxxxxx', 'Sec': 5423030, 'uptime_pretty': '62 days, 18:23:49', 'Plug_wallbox': True, 'Plug_locked': True, 'Plug_EV': True, 'State_on': False, 'State_details': 'ready for charging', 'FS_on': False, 'U1': 234, 'U2': 233, 'U3': 234, 'I1': 0.0, 'I2': 0.0, 'I3': 0.0, 'P': 0.0, 'PF': 0.0, 'E pres': 12.63, 'E total': 7399.38}
2022-01-02 15:43:43,280 [MainThread ] [DEBUG] Executed 1 callbacks
2022-01-02 15:43:43,376 [MainThread ] [DEBUG] Send report 100 to 10.0.20.96
2022-01-02 15:43:43,382 [MainThread ] [DEBUG] Datagram recvied from ('10.0.20.96', 7090): '{\n"ID": "100",\n"Session ID": 876,\n"Curr HW": 16000,\n"E start": 73867470,\n"E pres": 126301,\n"started[s]": 1640873273,\n"ended[s]": 0,\n"started": "2021-12-30 14:07:53.000",\n"ended": "0",\n"reason": 5,\n"timeQ": 0,\n"RFID tag": "0000000000000000",\n"RFID class": "ec28ab0b000000000000",\n"Serial": "18xxxxxxxx",\n"Sec": 5423030\n}\n'
2022-01-02 15:43:43,382 [MainThread ] [DEBUG] Datagram received, starting to process.
callback function 1: 18xxxxxxxx: {'ID': '100', 'State': 2, 'Error1': 0, 'Error2': 0, 'Plug': 7, 'AuthON': 0, 'Authreq': 0, 'Enable sys': 1, 'Enable user': 1, 'Max curr': 6.0, 'Max curr %': 10.0, 'Curr HW': 16.0, 'Curr user': 6.0, 'Curr FS': 0.0, 'Tmo FS': 0, 'Curr timer': 6.0, 'Tmo CT': 0, 'Setenergy': 0.0, 'Output': 0, 'Input': 0, 'Serial': '18xxxxxx', 'Sec': 5423030, 'uptime_pretty': '62 days, 18:23:49', 'Plug_wallbox': True, 'Plug_locked': True, 'Plug_EV': True, 'State_on': False, 'State_details': 'ready for charging', 'FS_on': False, 'U1': 234, 'U2': 233, 'U3': 234, 'I1': 0.0, 'I2': 0.0, 'I3': 0.0, 'P': 0.0, 'PF': 0.0, 'E pres': 12.63, 'E total': 7399.38, 'Session ID': 876, 'E start': 7386.75, 'started[s]': 1640873273, 'ended[s]': 0, 'started': '2021-12-30 14:07:53.000', 'ended': '0', 'reason': 5, 'timeQ': 0, 'RFID tag': '0000000000000000', 'RFID class': 'ec28ab0b000000000000'}
2022-01-02 15:43:43,382 [MainThread ] [DEBUG] Executed 1 callbacks
2022-01-02 15:43:43,478 [MainThread ] [DEBUG] Periodic data request executed, now wait for 10 seconds
2022-01-02 15:43:45,177 [MainThread ] [DEBUG] Periodic requests for Wallbox P30 at 10.0.20.96 stopped.
2022-01-02 15:43:45,177 [MainThread ] [DEBUG] Wallbox at 10.0.20.96 removed.
The name change place you show is where I changed name for the logo to appear. However, regarding the entity renaming, I was referring to this place:
When changing the name there, I get prompted if I want to also change the entity ID:s. This was what caused the disabled sensors to lose their names (the ID:s are properly renamed though).