2023.6: Network storage, favorite light colors, new integrations dashboard

2023.6.3 has completely broken HomeKit. Sensors, thermostat, switches and UniFi Protect now all unavailable in The iOS Home app.

Suggest do not install this update until resolved.

Anyone have any options to resolve? Unclear how to downgrade!

HomeKit works here, look in your logs for errors.

2 Likes

Works here also!

Can you send me the script? Now backup directly to NAS using the network drive option with backup location option But new it keeps all the backups on nas (same as shown in UI in backup section)

Sure. I use this custom component since it is more powerfull than the native one.

pyscript

Here is the script that goes in to the pyscript folder ā€œ/config/pyscriptā€

@service
def delete_old_backup_files():
	"""Python Script to delete old files"""
	import os
	import glob
	import operator
	path = "/config/backups/*.tar"
	keep = 2
	file_paths = glob.glob(path)
	fileData = {}
	for fname in file_paths:
		fileData[fname] = os.stat(fname).st_mtime
	fileData = sorted(fileData.items(), key = operator.itemgetter(1))
	delete = len(fileData) - keep
	for x in range(0, delete):
		os.remove(fileData[x][0])
	log.info(f"Python Script to delete the oldest backup files finished!!!")

Inside the script you need to adapt the backup folder defined in the variable ā€œpathā€ and the number of files to keep in the variable ā€œkeepā€.
This keeps always the lastest ones and can work with any type of files set in the path variable (for the backups Iā€™have used *.tar extension)

In the configuration.yaml please add the following:

pyscript:
  allow_all_imports: true
  hass_is_global: true

Scripts are exposed as services, so here is my automation that runs once a week:

# Home Assistant Weekly Remove old Backup Files
- id: ha_schedule_remove_old_backup_files
  alias: ha_schedule_remove_old_backup_files
  description: 'Home Assistant Weekly Remove old Backup Files'  
  trigger:
    - platform: time
      at: '03:00'
  condition:
    - condition: time
      weekday:
        - tue 
  action:
    - service: pyscript.delete_old_backup_files
      data: {}
  mode: single  

Profit!

2 Likes

This is a different issue than what I had, mine was caused by the changes in z-wave endpoint introduced in 2023.6, it was solved in 2023.6.2 with #94445

The new network storage feature does not seem to reconnect after restarting the machine that the share is on (Samba share on a Windows machine). Is that expected or should I report that somewhere?

It makes it hard to build automations that play media from the share if it sometimes does not work.

Yes, my FireHD 10 on android 9.0 stopped logging in to lovelace with Wallpanel and 2023.6.3. Clearing cache and stuff could not get it to work. Had to restore back to 2023.5 and voila, no problems logging in.

If 2023.7 had the same problems I will open up a ticket to request a comment on if this change is neccissary. It is a breaking change for anyone stuck on android 9 and the stock webview, yet it is not mentioned in the release notesā€¦ so clearly not known for the devs.

Hate to have to crack the tablet up and try to patch my way back to stock FireOS 7 and try a hacking session of lineage OS just because of maybe some minor change.

2 Likes

Thanks @dtx - good to know Iā€™m not going crazy! :crazy_face:

Work fine for me too on my Minisforum GK50 X86-64 mini-pc as Home assistant server, with:
ā€œthermal_zone0ā€ instead of ā€œthermal_zone2ā€
On Version:
Home Assistant 2023.7.0
Supervisor 2023.07.1
Operating System 10.3
Frontend 20230705.0 - latest

The zones relates on where you want to measure the temperature depending on the thermal zone:

Great update! I really like the new integrations page. Many thanks to all!

1 Like

I skipped the v2023.6 update originally as I had intended to wait until a later v2023.6.x release. Anyway, time got ahead of me and, although I donā€™t usual install first releases, I installed v2023.7, which has been great so far.

I noticed, however, that the ā€œfavorite colorsā€ area of the light entity card (a v2023.6 feature) looks a bit different on my dashboard compared to the blog post for v2023.6:

What is the button with the sun icon between the power button and colour/temperature pickers? Pressing it didnā€™t seem to do anything. I am running Circadian Lighting, so if would be great to use that button to toggle circadian lighting.

Is it brightness?

Edit: it is the button to get the control you are on, ie the slider for brightness. If you click on the button to itā€™s right you get the colour wheel, and to the right of that the colour temp control.

That makes sense! Looks like it may have been added in a later .x update. Thanks.

Great that we can see ā€œLast changedā€ and ā€œLast updatedā€ in the cardsā€¦ except these reset every time Home Assistant is restarted. People have been asking for these numbers to be preserved across restarts for years now, but instead we get a better look at the functionally useless numbers. No, all my lights werenā€™t just turned off 25 minutes ago when I restarted the HA container.

4 Likes

@fisch55 @crzynik
Iā€™m getting the same Mounting frigate did not succeed. Check host logs for errors from mount or systemd unit mnt-data-supervisor-mounts-frigate.mount for details. error.

Where you able to identify how store frigate media on a network drive?

And did you?

no, Iā€™m seeking a solution to the same problem.

You should listen to this and check the host logs for errors

Docs are there: Home Assistant network storage | Frigate