(SOLVED) Sensebender Gateway and HomeAssistant: where does the battery level come from?
- 
					
					
					
					
 Hello, currently I'm working on a custom Sensebender Gateway. I adapted the variant files to my hardware and it works so far. It's an Ethernet Gateway and the integration into HomeAssistant also worked well. But in HA it always shows 0% battery level (regardless of the level at the pin) and I didn't find the source location where that comes from. Can anyone tell me where to find it? I would like to measure the supply and/or battery voltage and calculate some realistic battery level. EDIT: 
 Something likesendBatteryLevel(91);solves the issue. 
 
 
					
				 
					
				