home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.87k stars 30.95k forks source link

Removed remote storage still appears in My media #130922

Open hundredfire opened 3 days ago

hundredfire commented 3 days ago

The problem

After setting up a remote share as media folder, it appears in Media>My media. However, after deleting this network storage in Home assistant's settings, the folder still appears in My media, even after restarting the device (albeit as an empty folder)

Screenshot 2024-11-19 031337 Screenshot 2024-11-19 031253 Screenshot 2024-11-19 031311

What version of Home Assistant Core has the issue?

core-2024.11.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

hundredfire commented 3 days ago

Here's my config.yaml if it can help:

# Loads default set of integrations. Do not remove.
default_config:

# Load frontend themes from the themes folder
frontend:
#  themes: !include_dir_merge_named themes

system_health:
config:
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

recorder:

history: 

rest_command:
  sms_alert:
    url: "#REDACTED#"
    method: POST
    content_type: "application/x-www-form-urlencoded"

switch:
  - platform: mqtt
    name: "TV power toggle" #the entity name
    command_topic: "cmnd/ir/IRsend"
    payload_on: '{"Protocol":"SAMSUNG","Bits":32,"Data":"0xE0E040BF","DataLSB":"0x70702FD","Repeat":0}'
    payload_off: '{"Protocol":"SAMSUNG","Bits":32,"Data":"0xE0E040BF","DataLSB":"0x70702FD","Repeat":0}'

logger:
  default: critical
  logs:
    # log level for HA core
    homeassistant.core: fatal
home-assistant[bot] commented 1 day ago

Hey there @home-assistant/supervisor, mind taking a look at this issue as it has been labeled with an integration (hassio) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `hassio` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign hassio` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


hassio documentation hassio source (message by IssueLinks)

hundredfire commented 1 day ago

For info if anyone else has the same issue, my temporary solution was to SSH in and rmdir the folder manually.