jkeljo thanks so much for creating this integration. I have been a long-time user using the core version and like you pointed out, that system was broken with recent updates in HA. I stayed with the older version of HA for months prior to biting the bullet to make the upgrade.
Setting up the HACS version of this integration is very straightforward and was completed as a conversion from the existing YAML configuration. However, I am hoping to get some guidance in that I can’t seem to get the pulse counters to work in this version: rate or totalizer (pulses).
I have just created a new test environment of HA and completed a clean install of the GEM integration with hopes that with a new, non-converted, integration might correct my issue. After the install, the energy, power, as well as the amp channels, as well as volts all work. I Enabled the Rate ID entity but it still only states ‘unavailable’. Also, the pulses do not update at the expected thirty-minute period. I can, however, restart HA and each time HA is restarted the pulse counter updates to the current value in GEM.
Below is a snip of what I am seeing. Also, in Attributes the Pulses value is the actual value in the GEM and when multiplied by the pulse factor I entered for the channel it can be confirmed that the counter 1 “Water” value is correct although it states ‘pulses’. It should be gallons but I do not know where to change the units of measurement. I did review the Configuration section of the integration, but I can only find the ability to change the pulses per time option (per second, minute, hour).
I am sure I have something incorrect so any guidance would be greatly appreciated.
Thanks, Brian
Pertinent log entries:
2023-08-01 06:20:48.966 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-08-01 06:20:48.967 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration greeneye_monitor which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-08-01 06:26:33.093 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.gem_1000199_pulse_counter_1_water (<class ‘custom_components.greeneye_monitor.sensor.PulseCountSensor’>) is using native unit of measurement ‘pulses’ which is not a valid unit for the device class (‘water’) it is using; expected one of [‘gal’, ‘ft³’, ‘CCF’, ‘L’, ‘m³’]; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
2023-08-01 06:26:33.106 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class ‘custom_components.greeneye_monitor.sensor.PulseCountSensor’>) is implicitly using device name by not setting its name. Instead, the name should be set to None, please report it to the custom integration author.
2023-08-01 06:26:33.109 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class ‘custom_components.greeneye_monitor.sensor.PulseCountSensor’>) is implicitly using device name by not setting its name. Instead, the name should be set to None, please report it to the custom integration author.
2023-08-01 06:26:33.111 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.gem_1000199_pulse_counter_4_water (<class ‘custom_components.greeneye_monitor.sensor.PulseCountSensor’>) is using native unit of measurement ‘pulses’ which is not a valid unit for the device class (‘water’) it is using; expected one of [‘gal’, ‘ft³’, ‘CCF’, ‘L’, ‘m³’]; Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.