Continue Discussion 184 replies
April 2019

awarecan

Just a reminder, we will automatically migrate your configuration.yaml to minimize the impact of naming change of google_translate tts for most users. However this is a one-way migration, if you downgrade your instance for any reason, you might break your configuration. So, please backup before upgrade/downgrade.

April 2019

CM000n

Hmhmm, getting a lot of errors here and frontend won’t load after upgrading from 91.4 to 92. (Using HA Docker Container)

LOG: https://1drv.ms/u/s!ArI9vNSW-Kn8lMQ_8BccvYUtYys9AA

2 replies
April 2019

nickrout Solution Institution

We are not mind readers. If you have logs, produce them!

1 reply
April 2019

Chandler_K_Sharp

no update for me yet

April 2019

CM000n

No reason to get harsh right away! I had a log, but it didn’t immediately attached it. Look my first post.

1 reply
April 2019 ▶ CM000n

nickrout Solution Institution

I could have sworn your link to the log wasn’t there when I posted!

April 2019

mdmc95

NO update coming through - should I push it via SSH?

1 reply
April 2019

nickrout Solution Institution

What are you running? hass.io takes a while before it has images available.

1 reply
April 2019 ▶ CM000n

awarecan

Lots of network connection and/or DNS error. You have some network issue in your container.

April 2019

100lv

After the update I have an issue with hadockermon and missing services.yaml even that I created an empty one:
Integration hadockermon not found when trying to verify its switch platform.
2019-04-25 09:22:42 WARNING (MainThread) [homeassistant.helpers.service] Unable to find services.yaml for the custom_updater integration

1 reply
April 2019 ▶ nickrout

mdmc95

0.91.4 from the info panel

1 reply
April 2019 ▶ mdmc95

nickrout Solution Institution

Sorry i meant hassio? Hassbian? linux general install to venv?

1 reply
April 2019

awarecan

It just a warning, you can ignore it for now. The custom component custom_updater need to update in order to meet our new requirement.

April 2019 ▶ nickrout

mdmc95

@nickrout Sorry here … should have been more specific. Armbrian on Odroid XU4 (https://www.armbian.com/odroid-xu4/) then pulled the image down from Github (https://github.com/home-assistant/hassio-installer)

1 reply
April 2019 ▶ mdmc95

nickrout Solution Institution

Probably just the usual delay of building the hassio images :slight_smile:

April 2019

Dayve67

Just upgraded this morning from 91.2 to 92 and have a few errors in the log.

Unable to find services.yaml for the custom_updater integration

And if I check configuration I get:

Integration icloud3 not found when trying to verify its device_tracker platform

Guess i need to read over the breaking changes to see whats happening.

2 replies
April 2019

VDRainer

This might be a hack, but simply create an empty services.yaml in <config>/custom_components/, and the warnings for custom_updater and other custom components (variable for me) are gone.

1 reply
April 2019 ▶ Dayve67

aidbish

there wont be any references of breaking changes of custom component.

April 2019

fredric.palmgren

Panic here!
After update I get only the lines below in the log, after that everything freezes. I can’t see that anything happens “behind the scenes” either using a ps -ef.

Running a Hassbian install.

Apr 25 11:40:14 hassbian systemd[1]: Started Home Assistant.
Apr 25 11:40:17 hassbian hass[1845]: 2019-04-25 11:40:17 INFO (SyncWorker_0) [homeassistant.config] Upgrading configuration directory from 0.91.4 to 0.92.0
Apr 25 11:40:17 hassbian hass[1845]: 2019-04-25 11:40:17 INFO (SyncWorker_0) [homeassistant.config] Migrating google tts to google_translate tts
Apr 25 11:40:17 hassbian hass[1845]: Config directory: /home/homeassistant/.homeassistant
2 replies
April 2019

0rn0lf

Doesnt seem smart to me to speak the pin out loud in front of other people. Whats the use case?

Also, is there now a new method to add addons to the sidepanel as iframe?
I thought the solution in 0.91.4 was just a workaround…

April 2019 ▶ fredric.palmgren

VDRainer

Do you have google tts in your configuration.yaml?
Comment it out and test again.

1 reply
April 2019 ▶ Dayve67

paulau

For the Integration xxxx not found when trying to verify its xxxx platform, add a manifest.json file into the folder containing the custom component.

Details here: https://developers.home-assistant.io/docs/en/creating_integration_manifest.html

April 2019 ▶ fredric.palmgren

aidbish

In the breaking changes, look for the google tts changes required.

https://www.home-assistant.io/blog/2019/04/24/release-92/#breaking-changes

April 2019 ▶ VDRainer

fredric.palmgren

That worked, thanx!

April 2019

rosie

Hi,

I’m getting

General Errors: 
    - Component not found: hue

When I run the hassio addon check config against latest version. Can’t see any breaking changes that would require a change to my hue config setup.

Thanks

1 reply
April 2019 ▶ VDRainer

100lv

This works also for me! Thanks

1 reply
April 2019 ▶ 100lv

VDRainer

@fredric.palmgren , @100lv, could it be that the HA User has no permission to write to your configuration yaml?
This update edits the google tts entry in config.yaml and seems to stop if it can’t do this.

April 2019

ProfKay

Okay, upgraded and found the following issue in lovelace frontend

Using Firefox as the browser, using “Configure UI” you are no longer able to add cards to the interface

Also the UI is notically slower then previous version, addons tkae forever to load through new ingress interface

1 reply
April 2019

pergola.fabio

How to add addons to left panel? I don’t see it in RLS notes, this was possible right?

1 reply
April 2019 ▶ pergola.fabio

knobunc

For add-ons that support ingress there’s a checkbox in each add-on to control whether to add it. I had to restart ha to make it take effect.

One annoyance is that the icons are just the jigsaw pieces (except for Configurator which has a wrench, so maybe it’s configurable and needs the addon devs to change some manifest).

1 reply
April 2019

folrewef

Created manifest.json for my three custom components (sensors). The components are now found. However all of them expect the same setup (keys). They expect “si2key”, “ri4key” and “sited” which are related to another sensor (sl) and not to ikea and pollenniva. I get the following errors when checking my configuration.

59 Skärmavbild 2019-04-25 kl. 15.05.59

1 reply
April 2019 ▶ ProfKay

knobunc

Interesting. I’m running FF 66.0 on Fedora and do not have that problem. I did a couple of ctrl-shift-reloads to force my cache to clear when I was trying to disable the add-ons from my sidebar (I wanted my icons back so I reverted to the manual control).

What FF version are you on? And does the F12 debug log show any JS errors? Are you running an ad blocker?

2 replies
April 2019 ▶ knobunc

DavidFW1960

Um… I removed all my custom panels and used the toggle for ingress instead… all the icons are correct as they were before… only one with a wrench is configurator but the other ones - ssh & web terminal, vscode, log etc… they are all the ones I have previously manually configured. Perhaps you needed to restart?

1 reply
April 2019

sunglass_guy

anyone else having trouble updating? My hassio runs in docker on ubuntu, and it just keeps starting the update then staying at 0.91.4. I tried rebooting the host and that didn’t help. Is there a command to force the update?

April 2019 ▶ folrewef

aidbish

What does your manifest.json contain?

1 reply
April 2019 ▶ knobunc

ProfKay

Running FF v66.03, and yes also did cache clear, need to leave now. Will check out things further later on.

April 2019 ▶ aidbish

folrewef

Here they are:

sl:

{
    "domain": "sensor",
    "name": "sl",
    "documentation": "https://github.com/DSorlov/ha-sensor-sl",
    "dependencies": [],
    "codeowners": ["@DSorlov"],
    "requirements": ["hasl==1.1.0"]
}

ikea:

 {
    "domain": "sensor",
    "name": "ikea",
    "documentation": "https://github.com/JohNan/home-assistant-pollenkoll",
    "dependencies": [],
    "codeowners": [],
    "requirements": ["xmltodict==0.11.0"]
}

pollenniva:

{
    "domain": "sensor",
    "name": "pollenniva",
    "documentation": "https://github.com/JohNan/home-assistant-pollenkoll",
    "dependencies": [],
    "codeowners": ["@JohNan"],
    "requirements": []
}
1 reply
April 2019 ▶ folrewef

aidbish

pretty sure the domain is the name of the component ie. ikea, pollenniva and sl.

1 reply
April 2019 ▶ aidbish

folrewef

and the name is anything I want?

1 reply
April 2019

bachoo786

Guys I have the Google geocode component and it cannot be found anymore after 0.92 upgrade. Any help please?

April 2019 ▶ folrewef

aidbish

yes i believe so

1 reply
April 2019

fernandex00

hi, i get this errors in all my custom components, i know that the fix is a manifest.json, but dont know the contents of that file, should we wait?or fix it manually, this is the log

Integration hadockermon not found when trying to verify its switch platform.
Integration trakt not found when trying to verify its sensor platform.
Integration youtube not found when trying to verify its sensor platform.
Integration youtube not found when trying to verify its sensor platform.
Integration google_fit not found when trying to verify its sensor platform.
Integration places not found when trying to verify its sensor platform.
Integration bwalarm not found when trying to verify its alarm_control_panel platform.
Integration fcm-android not found when trying to verify its notify platform.
Integration not found: introduction

1 reply
April 2019 ▶ fernandex00

aidbish

remove introduction from your configuration. its now removed from 0.92 as per release notes

you can create the manisfest.json files your self

2 replies
April 2019 ▶ aidbish

bachoo786

What is this manifest.json file?

1 reply
April 2019 ▶ aidbish

folrewef

Problem solved - thanks

April 2019

aidbish

1 reply
April 2019 ▶ aidbish

bachoo786

I take it as it’s only for custom components?

2 replies
April 2019 ▶ bachoo786

aidbish

well its all, but the devs of HA would have sorted out the ones native to HA

1 reply
April 2019

Dayve67

What about the Icloud3 custom component. What would I need to put in the manifest.json file?

April 2019 ▶ aidbish

bachoo786

Right I see do I expect to see a folder created automatically for the native components?

On a different topic how can I get my custom components back working?

April 2019 ▶ bachoo786

aidbish

try adding a simple one to see if it resolves it for yours
{
“domain”: “google_geocode”,
“name”: “Google Geocode”,
“documentation”: “https://github.com/michaelmcarthur/GoogleGeocode-HASS”,
“dependencies”: [],
“codeowners”: [],
“requirements”: []
}

1 reply
April 2019

pergola.fabio

what does this mean?

2019-04-25 16:10:27 ERROR (MainThread) [frontend.js.latest.201904240] https://xxxx.ui.nabu.casa/frontend_latest/app.7ac4ac3c.js:2:60391 Uncaught TypeError: Cannot convert undefined or null to object

?

April 2019 ▶ aidbish

bachoo786

So under my custom_components/google_geocode/ folder?

1 reply
April 2019 ▶ bachoo786

aidbish

thats correct

April 2019 ▶ DavidFW1960

cogneato

You might have your old icons cached. I think how it works is that the default is going to be the puzzle icon unless the dev has changed it to something else.

April 2019

walt

So if manifest.json is optional for custom components, per the blog article, why is everyone having to create them? Especially for things like hadockermon that don’t override anything?

2 replies
April 2019

pergola.fabio

I too have a custom without that manifest

1 reply
April 2019

bachoo786

sorry to bother you again but I remember recently HA had change the formatting of custom components? something to do with the folder and the actual python file. Could you please tell me how custom components are meant to be stored in HA as of 0.92 release?

Thanks.

1 reply
April 2019 ▶ pergola.fabio

bachoo786

mine said sensor.galaxys9 cannot be found. I am using the google_geocode sensor

April 2019 ▶ bachoo786

aidbish

a couple of releases back custom components were under custom componentes foder inthe follwoing format
for example for sensors

custom_components/sensor/customcomponentname.py
now
custom_components/customcomponentname/sensor.py

1 reply
April 2019 ▶ walt

knobunc

I had to create empty __init__.py files in a couple of custom component directories, and that did the trick.

April 2019 ▶ aidbish

bachoo786

thats correct I didnt know but I already have that however my google_geocode sensor has stopped working since 0.92 :frowning:

1 reply
April 2019 ▶ walt

aidbish

It does seem the documentation contradicts each other.

April 2019

troy

So I upgraded from 91.3 and now I can no longer connect to Home Assistant.

The web page says “refused to connect”

I don’t have any errors in my log so I’m not sure what to troubleshoot but it seems like startup is just hanging up. I’m just running HA in virtualenv.

Any ideas? Not sure where to start since I see no errors. Thanks!

4 replies
April 2019 ▶ bachoo786

ramonvanbiljouw

You can make google_geocode work!
Rename the folder to: google_geocode
Rename the file: from google_geocode.py to sensor.py
In the folder create a file called: manifest.json with the following content:
{
“domain”: “google_geocode”,
“name”: “Google Geocode”,
“documentation”: “https://github.com/michaelmcarthur/GoogleGeocode-HASS”,
“requirements”: [],
“dependencies”: [],
“codeowners”: []
}

Restart home assistant two times!

1 reply
April 2019 ▶ troy

walt

Your frontend hasn’t loaded – Give it 10 minutes max and then restart it. If it still doesn’t work, you’ll need to go through the log and see what is happening. Usual case is a pypi module that is taking a long time to install.

April 2019

ronschaeffer

Getting lots of sql errors since upgrading to 0.92. Assuming that home-assistant_v2.db was corrupted, I deleted it and restarted several times. The home-assistant_v2.db file was recreated each time, but the errors persist.

Example errors from the log:

Error in database connectivity: (sqlite3.OperationalError) no such table: events [SQL: INSERT INTO events (event_type, event_data, origin, time_fired, created, context_id, context_user_id) VALUES (?, ?, ?, ?, ?, ?, ?)] [parameters: ('state_changed', '{"entity_id": "switch.dryer", "old_state": {"entity_id": "switch.dryer", "state": "on", "attributes": {"current_power_w": "0.55", "total_energy_kwh": ... (633 characters truncated) ... :00", "last_updated": "2019-04-25T15:11:38.165595+00:00", "context": {"id": "ff4501c4b08f4cbfa2b23f073e0b3a67", "parent_id": null, "user_id": null}}}', 'LOCAL', '2019-04-25 15:11:38.165685', '2019-04-25 15:23:12.024002', 'ff4501c4b08f4cbfa2b23f073e0b3a67', None)] (Background on this error at: http://sqlalche.me/e/e3q8). (retrying in 3 seconds)
4:23 PM components/recorder/__init__.py (ERROR)
Error executing query: (sqlite3.OperationalError) no such table: events [SQL: INSERT INTO events (event_type, event_data, origin, time_fired, created, context_id, context_user_id) VALUES (?, ?, ?, ?, ?, ?, ?)] [parameters: ('state_changed', '{"entity_id": "switch.dryer", "old_state": {"entity_id": "switch.dryer", "state": "on", "attributes": {"current_power_w": "0.55", "total_energy_kwh": ... (633 characters truncated) ... :00", "last_updated": "2019-04-25T15:11:38.165595+00:00", "context": {"id": "ff4501c4b08f4cbfa2b23f073e0b3a67", "parent_id": null, "user_id": null}}}', 'LOCAL', '2019-04-25 15:11:38.165685', '2019-04-25 15:23:12.024002', 'ff4501c4b08f4cbfa2b23f073e0b3a67', None)] (Background on this error at: http://sqlalche.me/e/e3q8)
4:23 PM components/recorder/util.py (ERROR)
Error in database connectivity: (sqlite3.OperationalError) no such table: events [SQL: INSERT INTO events (event_type, event_data, origin, time_fired, created, context_id, context_user_id) VALUES (?, ?, ?, ?, ?, ?, ?)] [parameters: ('state_changed', '{"entity_id": "switch.dryer", "old_state": {"entity_id": "switch.dryer", "state": "on", "attributes": {"current_power_w": "0.55", "total_energy_kwh": ... (633 characters truncated) ... :00", "last_updated": "2019-04-25T15:11:38.165595+00:00", "context": {"id": "ff4501c4b08f4cbfa2b23f073e0b3a67", "parent_id": null, "user_id": null}}}', 'LOCAL', '2019-04-25 15:11:38.165685', '2019-04-25 15:23:09.012289', 'ff4501c4b08f4cbfa2b23f073e0b3a67', None)] (Background on this error at: http://sqlalche.me/e/e3q8). (retrying in 3 seconds)
4:23 PM components/recorder/__init__.py (ERROR)
Error executing query: (sqlite3.OperationalError) no such table: events [SQL: INSERT INTO events (event_type, event_data, origin, time_fired, created, context_id, context_user_id) VALUES (?, ?, ?, ?, ?, ?, ?)] [parameters: ('state_changed', '{"entity_id": "switch.dryer", "old_state": {"entity_id": "switch.dryer", "state": "on", "attributes": {"current_power_w": "0.55", "total_energy_kwh": ... (633 characters truncated) ... :00", "last_updated": "2019-04-25T15:11:38.165595+00:00", "context": {"id": "ff4501c4b08f4cbfa2b23f073e0b3a67", "parent_id": null, "user_id": null}}}', 'LOCAL', '2019-04-25 15:11:38.165685', '2019-04-25 15:23:09.012289', 'ff4501c4b08f4cbfa2b23f073e0b3a67', None)] (Background on this error at: http://sqlalche.me/e/e3q8)
4:23 PM components/recorder/util.py (ERROR)
Error in database connectivity: (sqlite3.OperationalError) no such table: events [SQL: INSERT INTO events (event_type, event_data, origin, time_fired, created, context_id, context_user_id) VALUES (?, ?, ?, ?, ?, ?, ?)] [parameters: ('state_changed', '{"entity_id": "switch.dryer", "old_state": {"entity_id": "switch.dryer", "state": "on", "attributes": {"current_power_w": "0.55", "total_energy_kwh": ... (633 characters truncated) ... :00", "last_updated": "2019-04-25T15:11:38.165595+00:00", "context": {"id": "ff4501c4b08f4cbfa2b23f073e0b3a67", "parent_id": null, "user_id": null}}}', 'LOCAL', '2019-04-25 15:11:38.165685', '2019-04-25 15:23:06.000906', 'ff4501c4b08f4cbfa2b23f073e0b3a67', None)] (Background on this error at: http://sqlalche.me/e/e3q8). (retrying in 3 seconds)
4:23 PM components/recorder/__init__.py (ERROR)
Error executing query: (sqlite3.OperationalError) no such table: events [SQL: INSERT INTO events (event_type, event_data, origin, time_fired, created, context_id, context_user_id) VALUES (?, ?, ?, ?, ?, ?, ?)] [parameters: ('state_changed', '{"entity_id": "switch.dryer", "old_state": {"entity_id": "switch.dryer", "state": "on", "attributes": {"current_power_w": "0.55", "total_energy_kwh": ... (633 characters truncated) ... :00", "last_updated": "2019-04-25T15:11:38.165595+00:00", "context": {"id": "ff4501c4b08f4cbfa2b23f073e0b3a67", "parent_id": null, "user_id": null}}}', 'LOCAL', '2019-04-25 15:11:38.165685', '2019-04-25 15:23:06.000906', 'ff4501c4b08f4cbfa2b23f073e0b3a67', None)] (Background on this error at: http://sqlalche.me/e/e3q8)
4:23 PM components/recorder/util.py (ERROR)
Error in database connectivity: (sqlite3.OperationalError) no such table: events [SQL: INSERT INTO events (event_type, event_data, origin, time_fired, created, context_id, context_user_id) VALUES (?, ?, ?, ?, ?, ?, ?)] [parameters: ('state_changed', '{"entity_id": "switch.dryer", "old_state": {"entity_id": "switch.dryer", "state": "on", "attributes": {"current_power_w": "0.55", "total_energy_kwh": ... (633 characters truncated) ... :00", "last_updated": "2019-04-25T15:11:38.165595+00:00", "context": {"id": "ff4501c4b08f4cbfa2b23f073e0b3a67", "parent_id": null, "user_id": null}}}', 'LOCAL', '2019-04-25 15:11:38.165685', '2019-04-25 15:23:02.992789', 'ff4501c4b08f4cbfa2b23f073e0b3a67', None)] (Background on this error at: http://sqlalche.me/e/e3q8). (retrying in 3 seconds)
4:23 PM components/recorder/__init__.py (ERROR)
Error executing query: (sqlite3.OperationalError) no such table: events [SQL: INSERT INTO events (event_type, event_data, origin, time_fired, created, context_id, context_user_id) VALUES (?, ?, ?, ?, ?, ?, ?)] [parameters: ('state_changed', '{"entity_id": "switch.dryer", "old_state": {"entity_id": "switch.dryer", "state": "on", "attributes": {"current_power_w": "0.55", "total_energy_kwh": ... (633 characters truncated) ... :00", "last_updated": "2019-04-25T15:11:38.165595+00:00", "context": {"id": "ff4501c4b08f4cbfa2b23f073e0b3a67", "parent_id": null, "user_id": null}}}', 'LOCAL', '2019-04-25 15:11:38.165685', '2019-04-25 15:23:02.992789', 'ff4501c4b08f4cbfa2b23f073e0b3a67', None)] (Background on this error at: http://sqlalche.me/e/e3q8)
4:23 PM components/recorder/util.py (ERROR)
Error in database update. Could not save after 11 tries. Giving up
4:23 PM components/recorder/__init__.py (ERROR)
Error in database connectivity: (sqlite3.OperationalError) no such table: events [SQL: INSERT INTO events (event_type, event_data, origin, time_fired, created, context_id, context_user_id) VALUES (?, ?, ?, ?, ?, ?, ?)] [parameters: ('state_changed', '{"entity_id": "sensor.json_time", "old_state": {"entity_id": "sensor.json_time", "state": "03:11:03 PM", "attributes": {"date": "04-25-2019", "millis ... (491 characters truncated) ... :00", "last_updated": "2019-04-25T15:11:34.195455+00:00", "context": {"id": "a44f4a77ee5741d49225c2af03215ab7", "parent_id": null, "user_id": null}}}', 'LOCAL', '2019-04-25 15:11:34.195617', '2019-04-25 15:23:02.989722', 'a44f4a77ee5741d49225c2af03215ab7', None)] (Background on this error at: http://sqlalche.me/e/e3q8). (retrying in 3 seconds)
4:23 PM components/recorder/__init__.py (ERROR)
Error executing query: (sqlite3.OperationalError) no such table: events [SQL: INSERT INTO events (event_type, event_data, origin, time_fired, created, context_id, context_user_id) VALUES (?, ?, ?, ?, ?, ?, ?)] [parameters: ('state_changed', '{"entity_id": "sensor.json_time", "old_state": {"entity_id": "sensor.json_time", "state": "03:11:03 PM", "attributes": {"date": "04-25-2019", "millis ... (491 characters truncated) ... :00", "last_updated": "2019-04-25T15:11:34.195455+00:00", "context": {"id": "a44f4a77ee5741d49225c2af03215ab7", "parent_id": null, "user_id": null}}}', 'LOCAL', '2019-04-25 15:11:34.195617', '2019-04-25 15:23:02.989722', 'a44f4a77ee5741d49225c2af03215ab7', None)] (Background on this error at: http://sqlalche.me/e/e3q8)
4:23 PM components/recorder/util.py (ERROR)
Error in database connectivity: (sqlite3.OperationalError) no such table: events [SQL: INSERT INTO events (event_type, event_data, origin, time_fired, created, context_id, context_user_id) VALUES (?, ?, ?, ?, ?, ?, ?)] [parameters: ('state_changed', '{"entity_id": "sensor.json_time", "old_state": {"entity_id": "sensor.json_time", "state": "03:11:03 PM", "attributes": {"date": "04-25-2019", "millis ... (491 characters truncated) ... :00", "last_updated": "2019-04-25T15:11:34.195455+00:00", "context": {"id": "a44f4a77ee5741d49225c2af03215ab7", "parent_id": null, "user_id": null}}}', 'LOCAL', '2019-04-25 15:11:34.195617', '2019-04-25 15:22:59.981485', 'a44f4a77ee5741d49225c2af03215ab7', None)] (Background on this error at: http://sqlalche.me/e/e3q8). (retrying in 3 seconds)
4:22 PM components/recorder/__init__.py (ERROR)
Error executing query: (sqlite3.OperationalError) no such table: events [SQL: INSERT INTO events (event_type, event_data, origin, time_fired, created, context_id, context_user_id) VALUES (?, ?, ?, ?, ?, ?, ?)] [parameters: ('state_changed', '{"entity_id": "sensor.json_time", "old_state": {"entity_id": "sensor.json_time", "state": "03:11:03 PM", "attributes": {"date": "04-25-2019", "millis ... (491 characters truncated) ... :00", "last_updated": "2019-04-25T15:11:34.195455+00:00", "context": {"id": "a44f4a77ee5741d49225c2af03215ab7", "parent_id": null, "user_id": null}}}', 'LOCAL', '2019-04-25 15:11:34.195617', '2019-04-25 15:22:59.981485', 'a44f4a77ee5741d49225c2af03215ab7', None)] (Background on this error at: http://sqlalche.me/e/e3q8)
4:22 PM components/recorder/util.py (ERROR)
1 reply
April 2019 ▶ rosie

GaryK

I’m getting this error also.

April 2019

awarecan

That is not correct. manifest.json IS OPTIONAL for custom component.

1 reply
April 2019

matisaul

After update, I had problems With Xiaomi Gateway:

No gateway discovered
12:04 components/xiaomi_aqara/__init__.py (ERROR)

Nothing changes in this platform??

April 2019 ▶ ramonvanbiljouw

bachoo786

@ramonvanbiljouw @aidbish thanks that done the trick

April 2019

frenck

All community add-ons have been updated this morning to add all the icons.

April 2019 ▶ troy

Petrica

Same effect here (not sure if the same cause): no error/warning on 0.91.4 but frontend fails to load on 0.92 even after 1 hour (virtualenv on NUC so not an under powered device). Hass process started but it hangs on the same memory load.

What does the log show (sudo systemctl status [email protected] -l)?

Found this in mine [homeassistant.components.recorder] Ended unfinished session which is quite generic.

Funny fact is that custom potential breaking changes sensor does show 5 entries (although I don’t have set either Insteon or MQTT Discovery and I already changed tts entry to google_translate) so I’ll start disabling components one by one to find the culprit :slight_smile:

22710 { "component": "homeassistant", "prlink": "https://github.com/home-assistant/home-assistant/pull/22710", "doclink": "https://www.home-assistant.io/components/None", "description": "Remove deprecated Insteon components " }
22717 { "component": "homeassistant", "prlink": "https://github.com/home-assistant/home-assistant/pull/22717", "doclink": "https://www.home-assistant.io/components/None", "description": "Load requirements and dependencies from manifests. Fallback to current &lt;code&gt;REQUIREMENTS and &lt;code&gt;DEPENDENCIES " }
22878 { "component": "media_player", "prlink": "https://github.com/home-assistant/home-assistant/pull/22878", "doclink": "https://www.home-assistant.io/components/media_player", "description": "Check for supported features in media_player services " }
22998 { "component": "mqtt", "prlink": "https://github.com/home-assistant/home-assistant/pull/22998", "doclink": "https://www.home-assistant.io/components/mqtt", "description": "Deprecate implicit state_topic for MQTT discovery " }
23090 { "component": "google", "prlink": "https://github.com/home-assistant/home-assistant/pull/23090", "doclink": "https://www.home-assistant.io/components/google", "description": "Rename google/tts.py to google_translate/tts.py " }
April 2019 ▶ troy

m0wlheld

Do you have the Flux component configured? I have and it prevents HA from starting since 0.92.0.

The appropriate bug has already been reported at Github.

3 replies
April 2019

ajoyce

0.92 appears to break Google Maps device tracking once again:

Error setting up platform google_maps
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/device_tracker/__init__.py", line 177, in async_setup_platform
    disc_info)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google_maps/device_tracker.py", line 39, in setup_scanner
    scanner = GoogleMapsScanner(hass, config, see)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google_maps/device_tracker.py", line 60, in __init__
    self._update_info()
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/google_maps/device_tracker.py", line 72, in _update_info
    for person in self.service.get_all_people():
  File "/usr/local/lib/python3.7/site-packages/locationsharinglib/locationsharinglib.py", line 439, in get_all_people
    people = self.get_shared_people() + [self.get_authenticated_person()]
  File "/usr/local/lib/python3.7/site-packages/locationsharinglib/locationsharinglib.py", line 400, in get_shared_people
    for info in output[0]:
TypeError: 'NoneType' object is not iterable

Usual fixes like deleting the cookie file and restarting twice do not seem to working unfortunately.

However - everything else is fantastic! Native Hue sensor integration is working perfectly for me and really enjoying having live streams from my cameras in Lovelace :slight_smile:

April 2019 ▶ aidbish

fernandex00

thank you, all the components now work except for places https://github.com/tenly2000/HomeAssistant-Places
is the only component that dont work after the update

April 2019

sunglass_guy

still no success updating, just restarts in 0.91.4, any help on how i can debug this is much appreciated

April 2019 ▶ m0wlheld

Petrica

That did the trick. It is strange that the component simply drags and doesn’t throw any error message.

Thanks @m0wlheld!

April 2019

Schneider

Hello guys!

I believe there are missing documentation as broadlink component has a breaking change. Here, it did not work anymore since the service call has changed. Now all services must be like this:

script:

  persiana_quarto_abrir:
    sequence:
    - service: broadlink.send
      data:
        host: 192.168.1.32
        packet: sgGEAwwUDBQXCgwUDBUMFAwVDBQMFAwUDBUWCgwVFgoWChcKDBQMFBcMoVA2CgwVFgoMFAwUFwoWCgwVFgodghjRcKDBQMFQwUDBQMFQwUFgoNFAwUDBQXCgwUDBUMFBYKDBUMFAwUDBUMFAwUDBUMFBYLCxUWChcKFgoMFAwVFgyhUDcKCxUWCgwVDBQWChcKDBQWChcKFgoMFAwVDBQMFAwVDBQXCgwUDBQMFRYKDBUMFAwdghjoMFQwUDBQMFQwUDBUMFAwUFwoMFBcKFgoWCgwVDBQWDKFRNgoMFBcKDBQMFBcJFwoMFBcKFgoWCgwUDBUMFAwVDBQMFBcKDBQMFQwUFgoMFQwUDBQXCgwUDBUMFAwUtryFAwUDBUWCgwVFgoWChcJDRQMFBcMoVA2CgwVFgoMFAwVFgoWCgwVFgoWChcKDBQMFAwVDBQMFAwVFgoMFQwUDBQXCQ0UDBQMFRYKDBUMFAwUDBUMFAwVDBQMFBcJDBUWChcJFwoMFAwUFwyhUDcJDBQXCgwUDBUWChcJDBUWChcKFgoMFA0UDBQMFQwUDBQWCgwVDBQMFRYKDBQMFQwUFwkMFQwUDBUMFAwUDBUMFAwUFwoMFBcJFwoWCgwUDRQWDKFRNgoMFBYKDBULFRcKFgoMFBYKFwoWCgwVDBQMFAwUDBUMFBcKDBQMFA0UFgoMFQwghfQXCgwUDBQMFQwUDBUMFAwUDBUWCgwUFwoWChcJDBUMFBcMoVAgfdUFwoMFAwUFwoWCgwUFwoWChcKDBQMFAwVDBQMFAwVFgoMFQwUDBQXCgwUDBQMFRYKDBQMFQwUDBQMFQwUDBUMFBYKDBQXChcJFwoMFAwUFwyhUDcJDBQXCgwUDBQXChYKDBUWChcJFwoMFAwVDBQMFAwVDBQWCgwVCxUMFRYKDBQMFQwUFgoMFQwUDBUMFAwUDBUMFAwUFwoMFBYKFwkXCgwVDBMXDKFQNwkMFRYKDBUMFBYKFwoMFBcJFwkXCgwUDBUMFAwVDBQMFBcKDBQMFQwUFgoMFQdghjBQXCgwUDBQMFQwUDBQMFQwUDBQXCgwUFwoWChYKDBUMFBcMoVA2CgwUFgoMFQwUFwoWCgwUFwkXChYKDRQMFAwUDBUMFAwVFgoMFQwUDBrtygwVDBQMFRYKDBQNFAwUDBQMFQwUDBQMFRYKDBUWChYKFwoMFAwUFwAF3AAAAAA==

Thanks.

1 reply
April 2019

123 Regular

It’s listed in the All Changes section … but given the magnitude of the change it made, you’re probably right that it should’ve been under Breaking Changes. It’s a new way of calling the service.

April 2019

wmaker

Could use some help with a custom component after the upgrade to 0.92.,
The custom component is a modified version of HA’s mqtt cover that I call “my_cover”
(it simply adds templating to tilt status).
In 91.x I had my custom component at <config_dir>/custom_components/my_cover/cover.py
(nothing else in that directory, no __init__.py)
My configuration.yaml

 cover:
   - platform: my_cover
     blah blah

and it worked fine.

Now in 0.92.0 I still have my custom component at <config_dir>/custom_components/my_cover/cover.py
(btw I did update my_cover/cover.py since the home assistant cover.py was itself updated),
and I still have the same configuration.yaml as above.
I blew away the __pycache__ and restarted HA 0.92 and noticed the _pycache_was not rebuilt
until I added the manifest.json file (at <config_dir>/custom_components/manifest.json) which is as follows:

{
  "domain": "my_cover",
  "name": "MQTT Basic Example",
  "documentation": "https://github.com/home-assistant/example-custom-config/tree/master/custom_components/mqtt_basic/",
  "dependencies": [],
  "codeowners": [],
  "requirements": []
}

Now with the manifest.json the __pycache__ builds and I get the UI logger showing
You are using a custom integration for my_cover which has not been tested by Home Assistant from loader.py
But when I invoke the UI Configurator Validation Check Config I get:
Platform not found: cover.my_cover
and of course my_cover entities are not being created. I’m at a loss as to why the my_cover platform is not being found …Any suggestions?

3 replies
April 2019

mbrackjr

With the new ingress method I don’t get to see the top blue bar on the addon-frame that lets me minimize the left menu-bar. Is that somehow configurable? Mostly the (otherwise perfect) node-red add-on now gives me less screen real-estate than before, making it harder to have a good overview of complex flows.

2 replies
April 2019 ▶ wmaker

pergola.fabio

interested in this too, let me know the outcome :slight_smile:

April 2019 ▶ m0wlheld

troy

I do use the flux component also but in my case the problem seems to be the custom component for Google Music. It was created as a custom switch. Weird I’m not getting any errors. Even if I start HA then add the custom GM switch back in, I can check configuration and HA says everything is fine. Upon restart it just hangs… No errors, just seems to freeze halfway through loading.

I removed the GM custom switch and now HA starts without any issues. My flux lights are working fine

April 2019

AZDane

Please Help. I can’t seem to make my Broadlink devices work with the new format. I get the following error:

voluptuous.error.MultipleInvalid: not a valid value @ data['packet'][0]

Previous code:

south_patio_shade_down:
   sequence:
     - service: switch.broadlink_send_packet_192_168_1_55
        data:
          packet:
            - "sgSEAxcMCxkLGRcMGAwXDRcMGAwXDQsZFwwMGBcNCxgMGAwYCxkLGAwYCxkXDQsYDBgLGRcNCxgMGAsZFwABTZ0yDBgMGBcMGAwXDQsYDBkWDQwYCxkXDBcNCxgMGBgMFw0XDBgMFw0XDQsYFw0LGRcMDBgLGQsZCxgMGAsZCxkXDAwYCxkLGBgMCxkMGAsYGAABS54yCxgMGBgMFw0XDAwYDBgXDQsYDBgXDRcNCxgMGBcNFwwYDBcNFwwYDAwYFwwMGBcNDBgLGAwYDBgLGQsYDBgYDAsZCxgMGBcNCxkLGAwYFwABTp4yCxkLGBgMFw0XDAwYCxkXDQsYDBgXDRcMDBgLGRcMGAwYDBcNFwwYDAsZFw0LGBgMCxkLGAwYDBgLGQsYDBgXDQsZCxgMGBcNCxkLGAwYFwABTJ0yDBgMGBcNFwwYDAsZCxkXDQsYCxkXDBgMDBgLGBgMGAwXDRcMFw0XDQsZFwwMGBcNCxgMGAwYCxkLGAwYCxkXDQsYDBgMGBcMDBgMGAsZFwABTJ4yDBgMGBcMGAwXDQsYDBgYDAwYCxgYDBcNCxkLGBgMFw0XDBgMFw0XDAwYGAwLGRcMDBgLGQsZCxgMGAwYCxgYDAwYDBgLGRcMDBgMGAsYGAABS54yDBgLGBgMFw0XDAwYDBgXDQsYDBgYDBcNCxgMGBcNFwwYDBcNFwwYDAwYFw0LGBcNDBgLGQsYDBgMGAsZCxgXDQwYCxkLGBcNCxkLGAwYFwABZZ4yCxkLGBcNFw0XDAwYDBgXDQsYDBgXDRcMDBkLGBcMGAwYDBcNFwwYDAsZFwwMGBgMCxgMGAwYDBgLGQsYDBgXDQsZCxgMGBcNFwwYDBcNCwABWJ0yDBgLGRcNFwwYDAsZCxkXDAsZCxkXDBgMCxkLGRcMGAwXDRcMGAwXDQsYGAwMGBcMDBgMGAwYCxgMGAwYCxkXDQsYCxkLGRcMGAwXDRcMDAABWJ4yDBgLGRcMGAwXDQsYDBgXDQsYDBgYDBcNCxgMGBcNFw0XDBgMFw0XDAwYFw0LGBgMDBgLGQsYDBgLGQsZCxgYDAwYCxkLGBgMFw0XDRcMCwABWJ0zCxgMGBgMFw0XDAwYDBgXDAwYDBgXDRcMDBgMGBcMGAwYDBcMGAwYDAsZFwwMGBcNCxgMGAwYDBgLGQsYDBgXDQsZCxgMGBcNFwwYDBcNCwAF3AAAAAA" 

New Code:

  south_patio_shade_down:
    sequence:
      - service: broadlink.send
        data:
          host: 192.168.1.55
          packet: 
            - "sgSEAxcMCxkLGRcMGAwXDRcMGAwXDQsZFwwMGBcNCxgMGAwYCxkLGAwYCxkXDQsYDBgLGRcNCxgMGAsZFwABTZ0yDBgMGBcMGAwXDQsYDBkWDQwYCxkXDBcNCxgMGBgMFw0XDBgMFw0XDQsYFw0LGRcMDBgLGQsZCxgMGAsZCxkXDAwYCxkLGBgMCxkMGAsYGAABS54yCxgMGBgMFw0XDAwYDBgXDQsYDBgXDRcNCxgMGBcNFwwYDBcNFwwYDAwYFwwMGBcNDBgLGAwYDBgLGQsYDBgYDAsZCxgMGBcNCxkLGAwYFwABTp4yCxkLGBgMFw0XDAwYCxkXDQsYDBgXDRcMDBgLGRcMGAwYDBcNFwwYDAsZFw0LGBgMCxkLGAwYDBgLGQsYDBgXDQsZCxgMGBcNCxkLGAwYFwABTJ0yDBgMGBcNFwwYDAsZCxkXDQsYCxkXDBgMDBgLGBgMGAwXDRcMFw0XDQsZFwwMGBcNCxgMGAwYCxkLGAwYCxkXDQsYDBgMGBcMDBgMGAsZFwABTJ4yDBgMGBcMGAwXDQsYDBgYDAwYCxgYDBcNCxkLGBgMFw0XDBgMFw0XDAwYGAwLGRcMDBgLGQsZCxgMGAwYCxgYDAwYDBgLGRcMDBgMGAsYGAABS54yDBgLGBgMFw0XDAwYDBgXDQsYDBgYDBcNCxgMGBcNFwwYDBcNFwwYDAwYFw0LGBcNDBgLGQsYDBgMGAsZCxgXDQwYCxkLGBcNCxkLGAwYFwABZZ4yCxkLGBcNFw0XDAwYDBgXDQsYDBgXDRcMDBkLGBcMGAwYDBcNFwwYDAsZFwwMGBgMCxgMGAwYDBgLGQsYDBgXDQsZCxgMGBcNFwwYDBcNCwABWJ0yDBgLGRcNFwwYDAsZCxkXDAsZCxkXDBgMCxkLGRcMGAwXDRcMGAwXDQsYGAwMGBcMDBgMGAwYCxgMGAwYCxkXDQsYCxkLGRcMGAwXDRcMDAABWJ4yDBgLGRcMGAwXDQsYDBgXDQsYDBgYDBcNCxgMGBcNFw0XDBgMFw0XDAwYFw0LGBgMDBgLGQsYDBgLGQsZCxgYDAwYCxkLGBgMFw0XDRcMCwABWJ0zCxgMGBgMFw0XDAwYDBgXDAwYDBgXDRcMDBgMGBcMGAwYDBcMGAwYDAsZFwwMGBcNCxgMGAwYDBgLGQsYDBgXDQsZCxgMGBcNFwwYDBcNCwAF3AAAAAA" 

Full error looks like this:

Thu Apr 25 2019 13:50:28 GMT-0700 (Mountain Standard Time)
Error executing service <ServiceCall script.south_patio_shade_down (c:b1e9d20791254898b18311c6719dea17)>
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/core.py", line 1147, in _safe_execute
await self._execute_service(handler, service_call)
File "/usr/local/lib/python3.7/site-packages/homeassistant/core.py", line 1160, in _execute_service
await handler.func(service_call)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/script/__init__.py", line 114, in service_handler
context=service.context)
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/script/__init__.py", line 172, in async_turn_on
kwargs.get(ATTR_VARIABLES), context)
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/script.py", line 131, in async_run
await self._handle_action(action, variables, context)
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/script.py", line 210, in _handle_action
action, variables, context)
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/script.py", line 299, in _async_call_service
context=context
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/service.py", line 89, in async_call_from_config
domain, service_name, service_data, blocking=blocking, context=context)
File "/usr/local/lib/python3.7/site-packages/homeassistant/core.py", line 1118, in async_call
processed_data = handler.schema(service_data)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 267, in __call__
return self._compiled([], data)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 589, in validate_dict
return base_validate(path, iteritems(data), out)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 427, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: not a valid value @ data['packet'][0]
2 replies
April 2019 ▶ AZDane

AZDane

Guess the new Broadlink code is more critical of the packet data. Adding a single = to the end of my data string made it work

April 2019

Rendeik

Hi, I updated to version 0.92.0 but on reboot it gave me an error of “Unable to connect to Home Assistant” white screen and blue icon in the center.
I downgrade to the previous version 0.91.0 and everything started working again.
No error in the log.

Strange!!!

April 2019 ▶ awarecan

nickrout Solution Institution

That is not what the docs say.

1 reply
April 2019 ▶ wmaker

nickrout Solution Institution

I think you need an empty

__init__.py
1 reply
April 2019 ▶ nickrout

aidbish

Hi @nickrout

i clarified with devs about the conflicting doco and yes its optional for Custom Components. Have done a PR on the dev docs to show its optional, just waiting to be approved

2 replies
April 2019 ▶ aidbish

nickrout Solution Institution

Bugger I just did a pr too.

April 2019 ▶ nickrout

wmaker

I tried the __init__.py too…one with comment only, one with DOMAIN = “my_cover”, still not working.

1 reply
April 2019 ▶ wmaker

nickrout Solution Institution

re-reading your post above, you have changed your cover.py file. Are ownership and permissions ok?

1 reply
April 2019 ▶ nickrout

wmaker

Looking at permissions, they are the same as they were previously when it worked.

Another FYI from the log:
[homeassistant.loader] Loaded my_cover from custom_components.my_cover
With no other errors showing up.

1 reply
April 2019 ▶ wmaker

nickrout Solution Institution

Looks ok then?

April 2019

SkynetNexus

Hi, I just upgraded my dev instance from 0.91.2 to 0.92.0 and my BOM_Forcast has stopped working, my production instance is still working.

Check config says : Integration bom_forecast not found when trying to verify its sensor platform.

I originally set things up using Australian Weather Forecast using BOM Public FTP

April 2019

wmaker

to @ nickrout and pergola.fabio I have a fix :slight_smile:
HA’s cover.py (that I basically copied into my_cover/cover/py and modified) itself had a change I didn’t catch.
They changed a couple of import statements to be relative to the local directory (which didn’t work for my custom cover.py), and all I had to do was to change them back the way they were before.
For example:

from . import (

changed to

from homeassistant.components.mqtt import (

All is well again.

April 2019

bachoo786

Has anyone noticed incorrect time in 0.92 update? Ever since I updated to 0.92 I can see the time shown in error logs is lagging by an hour.

Anyone experiencing the same?

1 reply
April 2019 ▶ bachoo786

tom_l

I’m having time problems but haven’t updated yet, still on 0.91.4 (the HASSIO supervisor was updated though): Time probelms

April 2019 ▶ troy

ekt

The web page says “refused to connect”

I’m having the exact same problem. No errors in log except for a
(Recorder) [homeassistant.components.recorder] Ended unfinished session (id=326 from 2019-04-25 20:48:48.944519)

did you find the issue?

2 replies