2021.9.0: More energy, USB discovery, template ❤️

Great release. Happy that Gas is included now as well.

Does anyone know how to remotely read out the analog gas meter ?
Mine is 150 meters away on the ground floor and me on the 2nd floor.

So !

What’s up with last_reset for MQTT sensors ? Deprecated ? Not deprecated ? What should we use to get long term stats with MQTT sensors now ?

Here it has been deprecated : Deprecate last_reset options in MQTT sensor by emontnemery · Pull Request #54840 · home-assistant/core · GitHub
Here reverts the deprecated status : Revert "Deprecate last_reset options in MQTT sensor" by emontnemery · Pull Request #55457 · home-assis

My logs says the option is deprecated. Should I remove it now ?

1 Like

We have energy, gas, so water would be the next step. It is definitively missing.
Ideally, it should support multiple sources. I’m using water from the water supply (city) and from my own well. So I’d like to see those two values and the percentage usage by source - how much I save by using my own well.

3 Likes

A really nice momentum with everything, and especially the energy monitoring. Props to all the developers and contributes! This really got me to thinking about energy monitoring. What do you guys think about something like a Sankey diagram to monitor whare the energy is spent?

5 Likes

Can’t add the usb: integration manually if you don’t use default_config. It complains that usb: isn’t a valid integration.

User error. :slight_smile:

Wow! What a great release again!

If I add a second identical usb stick, let’s say one for zwavjs and one for openzwave(beta) - my legacy, will that work with this change?

This question:

What about beer? :slightly_smiling_face:

5 Likes

It seems that there is a netdisco versioning issue. I installed 2.9.0 before starting 20219.0. I get:

Traceback (most recent call last):
  File "/home/hass/virtualenv3.9/lib/python3.9/site-packages/homeassistant/components/discovery/__init__.py", line 194, in scan_devices
    results = await hass.async_add_executor_job(
  File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/hass/virtualenv3.9/lib/python3.9/site-packages/homeassistant/components/discovery/__init__.py", line 221, in _discover
    netdisco.scan(
TypeError: scan() got an unexpected keyword argument 'suppress_mdns_types'

So it seems that netdisco was reverted to 2.8.3 again

I was looking forward for this:

P1Monitor API Integration

Super Perfect!!!

i have this error when i do a “check configuration” ?


Fatal error while loading config: The 'google-auth<2.0dev,>=1.25.0' distribution was not found and is required by google-api-core
Failed config
  General Errors: 
    - The 'google-auth<2.0dev,>=1.25.0' distribution was not found and is required by google-api-core
1 Like

Water does not compute in terms of energy.

1 Like

After upgrading my Home Assistant keeps rebooting. Home Assistant Started… Connection Lost…

Last log entries:

21-09-01 22:08:19 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
21-09-01 22:08:20 INFO (SyncWorker_6) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/odroid-c2-homeassistant with version 2021.9.0
21-09-01 22:08:20 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
21-09-01 22:08:38 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
21-09-01 22:08:38 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-09-01 22:11:47 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
21-09-01 22:11:47 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete

Anyone else having this issue? Maybe an issue with the Odroid C2 version? Has had issues in the past.

1 Like

after upgrading, I get this error.

The unit of sensor.qubino_3_phase_smart_meter_electric_produced_kwh_compensation (DKK) does not match the unit of already compiled statistics (EUR). Generation of long term statistics will be suppressed unless the unit changes back to EUR

how to fix, as DKK is my currency…

I’m seeing this too. Using a raspberry pi 3b+ though.

I’m getting confused with the new device_class options. Here’s what my Tuya plug shows:
image

And here’s the sensor:

This sensors returns consumption regularly and will go up and down, so it’s not a total increasing. Should I just give it time to collect data or I misunderstood the documentation?

Check Home Assistant configuration result:

[22:47:46] ERROR: The configuration check did not pass!
[22:47:46] ERROR: See the output below for more details.
Testing configuration at /tmp/config
ERROR:homeassistant.helpers.check_config:Unexpected error validating config
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/homeassistant/helpers/check_config.py", line 155, in async_check_ha_config_file
    await config_validator.async_validate_config(  # type: ignore
  File "/usr/local/lib/python3.9/site-packages/homeassistant/components/automation/config.py", line 129, in async_validate_config
    await asyncio.gather(
  File "/usr/local/lib/python3.9/site-packages/homeassistant/components/automation/config.py", line 106, in _try_async_validate_config_item
    config = await async_validate_config_item(hass, config, full_config)
  File "/usr/local/lib/python3.9/site-packages/homeassistant/components/automation/config.py", line 74, in async_validate_config_item
    config[CONF_TRIGGER] = await async_validate_trigger_config(
  File "/usr/local/lib/python3.9/site-packages/homeassistant/helpers/trigger.py", line 50, in async_validate_trigger_config
    conf = await platform.async_validate_trigger_config(hass, conf)
  File "/usr/local/lib/python3.9/site-packages/homeassistant/components/device_automation/trigger.py", line 21, in async_validate_trigger_config
    return await getattr(platform, "async_validate_trigger_config")(hass, config)
grep: write error: Broken pipe

Not sure where things are going wrong. Anyone?

Found the netdisco issue! HA 20219.0 requires 2.9.0, but the “ha-samsungtv-encrypted” custom component requires 2.8.3.

i would advise the dev of that custom component

Me too, using a raspberry pi 3b+

My log:

21-09-01 23:16:45 WARNING (MainThread) [supervisor.misc.tasks] Watchdog miss API response from Home Assistant
21-09-01 23:17:00 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
21-09-01 23:17:01 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-09-01 23:17:56 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
21-09-01 23:17:57 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-09-01 23:18:45 ERROR (MainThread) [supervisor.misc.tasks] Watchdog found a problem with Home Assistant API!
21-09-01 23:18:45 INFO (SyncWorker_0) [supervisor.docker.interface] Restarting ghcr.io/home-assistant/raspberrypi3-64-homeassistant
21-09-01 23:18:49 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
21-09-01 23:19:10 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
21-09-01 23:19:11 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-09-01 23:22:02 INFO (MainThread) [supervisor.backups.manager] Found 7 backup files
21-09-01 23:22:02 INFO (MainThread) [supervisor.backups.manager] Found 7 backup files
21-09-01 23:22:49 INFO (MainThread) [supervisor.backups.manager] Found 7 backup files
21-09-01 23:22:49 INFO (MainThread) [supervisor.backups.manager] Found 7 backup files
21-09-01 23:23:36 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
21-09-01 23:23:37 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-09-01 23:24:00 INFO (MainThread) [supervisor.backups.manager] Found 7 backup files
21-09-01 23:24:01 INFO (MainThread) [supervisor.backups.manager] Found 7 backup files
21-09-01 23:24:14 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
21-09-01 23:24:37 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
21-09-01 23:24:38 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-09-01 23:25:34 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
21-09-01 23:25:35 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-09-01 23:26:14 WARNING (MainThread) [supervisor.misc.tasks] Watchdog miss API response from Home Assistant
21-09-01 23:26:25 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
21-09-01 23:26:26 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete

is there an issue with nabucasa now?

2021-09-01 22:58:31 ERROR (MainThread) [hass_nabucasa.remote] Timeout connecting to snitun server
2021-09-01 22:58:45 ERROR (MainThread) [snitun.client.client_peer] Challenge/Response error with SniTun server
2021-09-01 22:58:45 ERROR (MainThread) [hass_nabucasa.remote] Connection problem to snitun server