Quantcast
Channel: Configuration - Home Assistant Community
Viewing all 106920 articles
Browse latest View live

Set brightness AND temperature/color of template light

$
0
0

@Senfbrot wrote:

Hey guys,

I created a dummy light via template light, which basically controls and mimics a real light (see code at the bottom). This works well, I can set a brightness or a light temperature or a light color (which seems to be a somewhat new function, as this was not a feature a couple of months ago) via the Home Assistant developer tools, for example:

service: light.turn_on
data:
  entity_id: light.living_kitchen_dummy
  brightness: 200

service: light.turn_on
data:
  entity_id: light.living_kitchen_dummy
  kelvin: 2500

service: light.turn_on
data:
  entity_id: light.living_kitchen_dummy
  color_name: red

All of those change my real light.living_kitchen appropriately. Other commands such as hs_color or rgb_color work as well. But changing two attributes at the same time apparently does NOT work, eg:

service: light.turn_on
data:
  entity_id: light.living_kitchen_dummy
  color_name: red
  brightness: 200

The brightness gets changed accordingly, but the color or temperature gets entirely ignored. If you look at my code at the bottom, I created input booleans to investigate, which “service” gets called on the dummy light if I want to change two attributes at the same time. I can confirm, that in this case only the set_level service of the template light gets triggered. I tried to also put an hs_color template into the set_level service, but I could not get this to work.

So, has anyone an idea how to solve this problem?

A little bit of background: I do this to eventually change the turn_on service of the dummy light to activate a script. Then I will expose the dummy light to google home and ideally I would be able to change the lights brightness and color via voice commands, but a simple “Hey google, turn kitchen on” would activate the script. Unfortunately, google apparently sends a color AND a brightness when setting a color via voice or app, which leads to the problem.

light:
  - platform: template
    lights:
      living_kitchen_dummy:
        friendly_name: "Kitchen Dummy"
        level_template: "{{ state_attr('light.living_kitchen', 'brightness') | int }}"
        value_template: "{{ is_state('light.living_kitchen', 'on') }}"
        temperature_template: "{{ state_attr('light.living_kitchen', 'color_temp') }}"
        color_template: "{{ state_attr('light.living_kitchen', 'hs_color') | float}}"
        turn_on:
          - service: light.turn_on
            entity_id: light.living_kitchen
          - service: input_boolean.toggle
            entity_id: input_boolean.turnon_boolean
        turn_off:
          service: light.turn_off
          entity_id: light.living_kitchen
        set_level:
          - service: light.turn_on
            data_template:
              entity_id: light.living_kitchen
              brightness: "{{ brightness }}"
          - service: input_boolean.toggle
            entity_id: input_boolean.bright_boolean
        set_temperature:
          - service: light.turn_on
            data_template:
              entity_id: light.living_kitchen
              color_temp: "{{ color_temp }}"
          - service: input_boolean.toggle
            entity_id: input_boolean.temp_boolean
        set_color:
          - service: light.turn_on
            data_template:
              hs_color:
                - "{{ h }}"
                - "{{ s }}"
              brightness: "{{ brightness }}"
              entity_id: light.living_kitchen
          - service: input_boolean.toggle
            entity_id: input_boolean.color_boolean

Posts: 2

Participants: 2

Read full topic


Specific Integration Logger Automation

$
0
0

@Eeeeeediot wrote:

Hi,

I would like to set the logger to debug a specific integration on the fly. Is there any way to get something like this to work?

input_text:
 log_level_integration:
   name: Integration
   initial: doods

input_boolean:
  log_level_integration:
    name: Log Level Integration
    initial: off

automation:
  - alias: Log Level Integration
    trigger:
      platform: state
      entity_id: input_boolean.log_level_integration
      to: 'on'
    action:
      service: logger.set_level
      data_template:
        homeassistant.components."{{states('input_text.log_level_integration')}}": debug

Posts: 2

Participants: 2

Read full topic

Create one temperature sensor using the data of two temperature sensors

$
0
0

@tosion wrote:

Hi there,

Any help on how to handle a little problem with my adjusted Osram Smart+ motion sensor temperature. Because this adjustment it means now and then (at restart for example) the adjusted temperature sensor show only this adjusted part:

image

It means some problems:

  • It ruins the statistics
  • It is also problematic in heating solutions - it sets the heating on when thinking it is only 0,7 C in the room. For a while but still.

Because I use these in heating I have some backup sensors just in case I can handle the problems remotely. I feel these Osrams follow the temperature better than for instance Xiaomis. Solution could be to create a sensor which uses xiaomi value when adjusted Osram shows only a adjustment part? But how?

Once again here from the backseat as a “Passenger” I trust on you great “Drivers”

Any suggestions here?

Posts: 1

Participants: 1

Read full topic

Wrong device triggered by google assistant

$
0
0

@lkeays wrote:

Hi,

  • “Ok Google turn on airco” works fine
  • “OK Google, turn off airco” triggers another device.

Air conditioner is done via broadlink IR broadcaster (it’s an old aircon). It very very basic - I can only have switch toggle

Heating is done by evohome (I have smart thermostats on all my radiators) - evohome in my house has no air conditionning.

When I trigger google - the “on” order works to trigger my airco device, but the “off” order sets the climate to “off” on the thermostats.

Help please?

# in configuration.yaml
- platform: broadlink
  host: 192.168.86.52
  mac: 34:ea:34:b3:08:31
  switches:
    ac_on_off:
     friendly_name: "Zolder Cooling Machine"
     command_on: "JgBoAAABJJIUNhM2ExETERMQFBATERM2FBAUNRQ2ExETERMQFBATERM2FBATNhQQFBATERMRExETEBQ2ExETEBQQFBATERMRFBATEBMRExETERMRExETEBMRExETERMRExAUEBQQExETAA0F"
     command_off: "JgBoAAABJJIUNhM2ExETERMQFBATERM2FBAUNRQ2ExETERMQFBATERM2FBATNhQQFBATERMRExETEBQ2ExETEBQQFBATERMRFBATEBMRExETERMRExETEBMRExETERMRExAUEBQQExETAA0F"

# in scripts.yaml
# I have an input bolean used to set the status on/off softly so I can run automation on it.  I use it on automation to cool down when too hot but also when I manually trigger from google
'1590664611918':
  alias: Cooling On
  sequence:
  - data: {}
    entity_id: switch.ac_on_off
    service: switch.toggle
  - data: {}
    entity_id: input_boolean.aircostatus
    service: input_boolean.turn_on
'1590667430220':
  alias: Cooling Off
  sequence:
  - data: {}
    entity_id: switch.ac_on_off
    service: switch.toggle
  - data: {}
    entity_id: input_boolean.aircostatus
    service: input_boolean.turn_off

# in automation.yaml
- id: cooling_on_automation
  alias: Cooling On
  description: ''
  trigger:
  - entity_id: input_boolean.airco
    from: 'off'
    platform: state
    to: 'on'
  condition: []
  action:
    entity_id: input_boolean.airco
    service: input_boolean.turn_on
  - data: {}
    service: script.1590664611918
- id: cooling_off_automation
  alias: Cooling Off
  description: ''
  trigger:
  - entity_id: input_boolean.airco
    from: 'on'
    platform: state
    to: 'off'
  condition: []
  action:
  - data: {}
    entity_id: input_boolean.airco
    service: input_boolean.turn_off
  - data: {}
    service: script.1590667430220

Posts: 1

Participants: 1

Read full topic

Get information about device that triggered automation

$
0
0

@FlorinAcsinte wrote:

Hi.
I have 5 mijia door sensors (zigbee2mqtt) monitoring all of my windows. I created an automation that sends a notification via telegram whenever one of them opens.
Currently, it just prints out the state of all of the windows.
I am now trying to make it so that it only sends the name of the device that triggered it, but i can’t get this to work. Searched the internet and found several posts about the same issue. But each time when i try using their solution, it doesn’t work. Guessing the syntax might have changed in the meantime.

closest i got was using

data:
  message: {{trigger.from_state.attributes.friendly_name}}
service: telegram_bot.send_message

that got me an error, but it did show a device id in the error logs… no idea how to get it normally though…

Can anyone tell me how i am supposed to get the info?

Posts: 2

Participants: 2

Read full topic

Qubino 3 Phase Smart Meter Network Inclusion doesn't Work

$
0
0

@automatic wrote:

Hi all

I have a Qubino ZMNHXD1 3 Phase Smart Meter which doesn’t accept inclusion via “ADD NODE” function under Network Management. Adding does work directly via the button on my Aeon Labs Gen 5 Z-Stick. However, if I add it this way, I am not getting multi-level updates for each of the 3 phases, only for the overall readings (and 4 separate instances of the Smart Meter).

I am running 0.110, Supervisor 225 on HassOS 4.8.

Has anyone experienced this?

Btw, network exclusion (REMOVE NODE) does work once I added it as described above (via Z Stick).

Posts: 1

Participants: 1

Read full topic

CalDAV repeating events dont show up

$
0
0

@wuast94 wrote:

I added my Nextcloud calendar today in HA and i have problems with repeating events.

I have a rule that an event Repeated weekly on every MO,DI,MI,DO,FR (Weekkdays)

So every week i have an entry on every workday. in all my calendars this work fine but in HA i see only one entry on Monday:

and this is how it should be (screenshot out of nextcloud)

also the color matching is wrong but thats no problem for me

Posts: 1

Participants: 1

Read full topic

Problem on updating FFMPEG to version 4

$
0
0

@BrunoZumba wrote:

Guys, I updated HA to version 1.110 and up until now I couldn’t get my ONVIF cameras to work again.

To sum up, on my searchs I found out here that I need FFMPEG version 4 in order to install AV version 8.0.1.

But I can’t get FFMPEG updated to version 4

Stream page says that I should be able to update using

sudo add-apt-repository ppa:jonathonf/ffmpeg-4
sudo apt upgrade

But this is what I get when I try

pi@raspberrypi:~$ sudo add-apt-repository ppa:jonathonf/ffmpeg-4
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 95, in <module>
    sp = SoftwareProperties(options=options)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)
  File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 89, in get_sources
    (self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/stretch

I read somewhere that these “ppa” are for ubuntu systems. To install PPA on raspberry pi I tried both ways here and none of them worked.

If I try to just sudo apt-get heres what I get that FFMPEG is already on the latest version (but it says 3.2.14, no 4)

pi@raspberrypi:~$ sudo apt-get install ffmpeg
Reading package lists… Done
Building dependency tree
Reading state information… Done
ffmpeg is already the newest version (7:3.2.14-1~deb9u1+rpt1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

Please, help me update it to version 4 so I can then update AV to 8.0.1 and finally have my ONVIF cameras working again.

Thanks!

Posts: 1

Participants: 1

Read full topic


Pulseaudio-dlna

$
0
0

@Ulrar wrote:

Hi all,

Is anyone aware of a way to get pulseaudio-dlna to work on hassio ?
Looks like it’s running in a separate audio container on which it’s not installed, just wondering if there’s a supported way to add it or not.

Thanks

Posts: 1

Participants: 1

Read full topic

Nut addon issues, not the edge version!

$
0
0

@mattlward wrote:

First off, running latest HA with Hassio on an Ubuntu system running 18.04 with docker running the HA instance and addons.

I have 5 ups’s that I would like to get working, 1 directly attached and 4 remote nut clients supported via Raspberry Pi’s. I was running the edge version of Nut and all was working well, but I decide to convert to the more supported non-edge version and it is driving me nuts. Each time that I reload HA, I am getting a new integration request for Nut, even though the old one is there and working.

Please note the existing nut config, the first is the directly connected unit and the second is the remote UPS.

Data gathered from both installed UPS units.

I am getting the following in my logs:

2020-06-03 09:21:53 ERROR (MainThread) [homeassistant.components.nut] NUT Sensor has no data, unable to set up
2020-06-03 09:21:53 WARNING (MainThread) [homeassistant.config_entries] Config entry for nut not ready yet. Retrying in 80 seconds.
2020-06-03 09:23:19 ERROR (MainThread) [homeassistant.components.nut] Error fetching NUT resource status data: Error fetching UPS state
2020-06-03 09:23:19 ERROR (MainThread) [homeassistant.components.nut] NUT Sensor has no data, unable to set up
2020-06-03 09:23:19 WARNING (MainThread) [homeassistant.config_entries] Config entry for nut not ready yet. Retrying in 80 seconds.

The server appears to think, to me, that I have a UPS that it is not managing or that Nut is not installed in the first place.

This is my nut config within the addon, this is the directly connected unit.
nut config:

users:
  - username: xxx
    password: 'yyy'
    instcmds:
      - all
    actions: []
  - username: xxx
    password: 'yyy'
    instcmds:
      - all
    actions: []
devices:
  - name: DR_UPS
    alias: dr_ups
    driver: usbhid-ups
    port: auto
    config:
      - vendorid = 0764*
mode: netserver
shutdown_host: 'false'
shutdown_hassio: 'false'

This is my config in sensors.yaml:

- platform: nut
  alias: dr_ups
  name: "DR UPS"
  username: xxx
  password: yyy
  host: a0d7b954_nut
  resources:
    - ups.load
    - battery.charge
    - input.voltage
    - battery.runtime
    - ups.status
    - ups.status.display
    
- platform: nut
  alias: lrups
  name: "LR UPS"
  username: xxx
  password: yyy
  host: 192.168.1.203
  port: 3494
  resources:
    - ups.load
    - battery.charge
    - input.voltage
    - battery.runtime
    - ups.status
    - ups.status.display

Within the addon config, it seems that I only need the directly connected UPS defined? Maybe that is the mistake, but I am not sure how to set the addon config for a netclient and net server, if that is the case.

Posts: 1

Participants: 1

Read full topic

More advanced volume control for Alexa Announcements

$
0
0

@Peter_West wrote:

Hi,

I have some automations configured which make Alexa perform voice announcements at specific times of the day.

I’d like to add some additional steps as follows:

  1. I’d like the automation to somehow record the current volume setting prior to making the announcement.
  2. I then want the automation to set the volume to a specific value (most likely 0.8).
  3. Then I want it to make the announcement and reset the volume back to what it was before.

This is mainly so that if the Echo has been turned down to a low volume then the reminder isn’t missed.

Is this possible to do please? Curious if it’s possible using either automation alone or a combination of automation and script (or maybe even using NodeRed).

Please treat me like an idiot - i’m new to a lot of this stuff and the learning curve is pretty steep.

Thanks

Pete

Posts: 1

Participants: 1

Read full topic

Siterwell GS361A-H04 - deCONZ

$
0
0

@scrapid wrote:

Hello, I'm new here. I have Raspberry Pi 4, Home Assistant 0.108.8 running on docker.

One of my hardware components is Conbee II ZigBee Usb Gateway connected to my HA using ZHA deCONZ integration. I have problems with radiator thermostats:

1. Siterwell GS361A-H04, Zigbee 3.0

It is Tuya family device, I have two items. They are paired with Conbee II (visible under /config/devices/dashboard and /config/zha/dashboard). But it is not supported device so I don't have any controls available to use them. I can see Nwk, IEEE and clusters (Basic in, Identify in, Identify out, Ota out).

I have seen this interesting topic: https://community.home-assistant.io/t/i-am-totally-noob-with-zigbee-and-tuya-and-i-need-advice-for-smart-thermostatic-radiator-valves/163607 I'm totally noob with zigbee too ;) Integration in those topic was successful but OP used zigbee2mqtt. How to do it using deCONZ ZHA?

2. Tuya (Telin?) TL10-Zigbee TRV.

The same status in my HA as above. Siterwell devices integration is more important for me.

Could you help me to integrate these devices? I know today about Tuya compatibility problems, about Tuya integration via Tuya gateway and cloud, but I don't have Tuya gateway and I avoid external clouds, so would like to integrate it via local deCONZ.

Posts: 1

Participants: 1

Read full topic

Invalid config for [automation]

$
0
0

@DenisSh wrote:

Please help me with:
Invalid config for [automation]: [entity] is an invalid option for [automation]. Check: automation->trigger->0->entity. (See /config/configuration.yaml, line 165).
my automations.yaml

    - alias: 'Home automation'
      trigger:
        platform: state
        entity: sensor.kitchen_wall_button
        from: 'off'
        to: 'on'
      condition:
        condition: state
        entity_id: switch.sw_one
        state: 'off'
      action:
        - service: switch.turn_on
          entity_id: switch.sw_one
          data:
            message: 'Тик Так 10 сек'
        - delay:
            seconds: 10
        - service: switch.turn_off
          entity_id: switch.sw_one
          data:
            message: 'Выключаю'

the entity in the trigger block (from configuration.yaml):

        kitchen_wall_button:
            value_template: "{{states.sensor.esp.attributes.push_btn}}"
            friendly_name: 'DSH wall button'

work well - I can see it state in Lovelace

Posts: 9

Participants: 3

Read full topic

Setup of nginx proxy manager addon

$
0
0

@zebrastribe wrote:

Hi All

I have setup the addon:

And I can login and use the addon.

But I get this message with the proxy host:

502 Bad Gateway

Where is the location of the served files?
I have placed an index.html under /var/www/domain.tld/

1 The location in ‘Custom location’->‘location’->/var/www/domain.tld/
2 I have set the ‘forward’ host name to ‘domain.tld’
3 Port is set to 80 and forwarded from the router

What am I missing?

Posts: 1

Participants: 1

Read full topic

Lovelace doesn't react on Xiaomi motion sensor

$
0
0

@DenisSh wrote:

I try to show on a floor plan the movement - change image depending from motion sensor:

  - enitity: sensor.motion_steps
    image: 'http://dshgmbh.ru/uploads/walking-man_black 200x300.png'
    state_filter:
      'off': brightness(80%) saturate(0.2)
      'on': brightness(130%) saturate(1.5)
    state_image:
      'off': 'http://dshgmbh.ru/uploads/Walking_man_green 200x300.png'
      'on': 'http://dshgmbh.ru/uploads/Walking_man_yellow 200x300.png'
    style:
      left: 55%
      padding: 10px
      top: 54%
      width: 7%
    type: image

This sensor works in another widget:

entities:
  - entity: binary_sensor.motion_sensor_158d0002b43093
  - entity: sensor.motion_steps
  - entity: binary_sensor.door_window_sensor_158d0002b825ef
    icon: 'mdi:door'
  - entity: sensor.kitchen_wall_button
title: Датчики Xiaomi
type: entities

but on the floor plan doesn’t works,
here is my configuration.yaml with that sensor:

        motion_steps:
            friendly_name: "Движение на лестнице"
            value_template: >
                {% if is_state('binary_sensor.motion_sensor_158d0002b43093', 'on') %}
                on
                {% elif %}
                off
                {% endif %}

It’s seems that ‘on’ state are good but ‘off’ state doesn’t recognize or wrong (undefined). Anywhere picture won’t to change.

Posts: 1

Participants: 1

Read full topic


Spotify: INVALID_CLIENT: Invalid redirect URI because wrong ip/url is inserted

$
0
0

@bvolkmer wrote:

Greetings,

I’ve seen the other post following the new Spotify integration regarding the INVALID_CLIENT error.
But I have a slightly different issue:
My Setup:

  • Home Assistant in Docker (HTTP only)
  • Nginx handling the subdomain https://hassio.[mydomain]/ and enforcing SSL. (Standart 443 port)
    So my home assistant is reachable at https://hassio.domain/

But the Spotify Integration creates a link

https://accounts.spotify.com/authorize?response_type=code&client_id=[id]&redirect_uri=http://[some-ip]/auth/external/callback&state=[…]&scope=user-modify-playback-state,user-read-playback-state,user-read-private

This [some-ip] is no IP I know, especially neither the public nor local IP address of the home assistant server. Even if so, it won’t work, as Nginx doesn’t redirect access to the IP without hostname to the hassio subdomain. And as you note, it is also, not SSL.
I would expect https://hassio.[mydomain]/auth/external/callback... (which I added to the Spotify Developer settings)

If I manually change the link it won’t work either with following error in the home assistant log:


2020-06-03 19:51:05 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start
    resp = await task
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/real_ip.py", line 39, in real_ip_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 73, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 127, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 125, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/helpers/config_entry_oauth2_flow.py", line 376, in get
    flow_id=state["flow_id"], user_input=request.query["code"]
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 153, in async_configure
    result = await self._async_handle_step(flow, cur_step["step_id"], user_input)
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 201, in _async_handle_step
    result: Dict = await getattr(flow, method)(user_input)
  File "/usr/src/homeassistant/homeassistant/helpers/config_entry_oauth2_flow.py", line 248, in async_step_creation
    token = await self.flow_impl.async_resolve_external_data(self.external_data)
  File "/usr/src/homeassistant/homeassistant/helpers/config_entry_oauth2_flow.py", line 142, in async_resolve_external_data
    "redirect_uri": self.redirect_uri,
  File "/usr/src/homeassistant/homeassistant/helpers/config_entry_oauth2_flow.py", line 167, in _token_request
    resp.raise_for_status()
  File "/usr/local/lib/python3.7/site-packages/aiohttp/client_reqrep.py", line 946, in raise_for_status
    headers=self.headers)
aiohttp.client_exceptions.ClientResponseError: 400, message='Bad Request', url='https://accounts.spotify.com/api/token

Does someone have an idea on this?

Posts: 1

Participants: 1

Read full topic

Trouble with Comfoconnect

$
0
0

@Lyttilmig wrote:

Hallo
Im new at this - and i am trying to connect my AHU but i get this error:

Invalid config

The following integrations and platforms could not be set up:

Please check your config.

and my configuration.yalm I have this:

#homeassistant:
#  name: Fort Broager
#  latitude: 55.694276
#  longitude: 12.136536
#  unit_system: metric
#  time_zone: Europe/Copenhagen
  
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
#   base_url: example.duckdns.org:8123

# Text to speech
tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml

## KAMERAOPSÆTNING
#binary_sensor:
#  - platform: hikvision
#    host: 192.168.1.200
#    port: 80
#    ssl: false
#    username: admin
#    password: 9433
##    customize:
##      motion_1:
##        delay: 30
##      field_detection_2:
##        ignored: true

# VENTILATIONSANLÆG kontakt
comfoconnect:
  host: 192.168.1.193
#  name: ComfoAirQ350
#  pin: 0000

sensor:
# VENTILATIONSAGGREGAT
  - platform: comfoconnect
    resources:
      - air_flow_exhaust
      - air_flow_supply
      - bypass_state
      - current_humidity
      - current_temperature
      - days_to_replace_filter
      - exhaust_fan_duty
      - exhaust_fan_speed
      - exhaust_humidity
      - exhaust_temperature
      - outside_humidity
      - outside_temperature
      - power_usage
      - supply_fan_duty
      - supply_fan_speed
      - supply_humidity
      - supply_temperature

# REJSEPLANEN
  - platform: rejseplanen
    stop_id: 9755

What is wrong? "Rejseplanen works fine!

Posts: 1

Participants: 1

Read full topic

How to change a device password

$
0
0

@principia wrote:

I’m trying to change the password HomeAssistant uses for my Synology drive.

Where is this passsword stored? And how can it be changed?

I had no luck in the UI under Configuration->Devices (Manage connected devices). I also looked through various text files including core.device_registry.

Many thanks

Richard

Posts: 1

Participants: 1

Read full topic

Loading Snapshot onto new device

$
0
0

@amarant59 wrote:

I’m moving from a raspberry pi 4 to a Ryzen NUC that I built. The simplest solution seems to be taking a snapshot of the pi and just reloading it onto the NUC, but I can’t seem to find a simple solution to move the file over though. I see some people suggesting SAMBA to move the file over but I attempted to set it up but can’t find a good guide on properly setting up SAMBA. Is there an easier solution to this?

Posts: 1

Participants: 1

Read full topic

How to change displayed state of a switch in Lovelace?

$
0
0

@adrien.b wrote:

Hello, I’m using vertical stack with several glances cards to display various entities, switches and sensors on my home assistant main screen.

cards:
  - entities:
      - entity: person.he
        name: He
      - entity: person.she
        name: She
      - entity: binary_sensor.door
        name: Garage
      - entity: switch.fibaro_system_fgs223_double_relay_switch_2
        hold_action:
          action: more-info
        name: Garage
        show_icon: true
        show_name: true
        tap_action:
          action: toggle
        type: button
    show_name: true
    type: glance
  - entities:
      - entity: sensor.fibaro_system_fgbs222_smart_implant_temperature_2
        name: Extérieur
      - entity: sensor.fibaro_system_fgk101_door_opening_sensor_temperature
        name: Piscine
      - entity: sensor.fibaro_system_fgbs222_smart_implant_temperature_3
        name: Garage
    show_name: true
    type: glance
  - cards:
      - entity: switch.fibaro_system_fgs222_double_relay_switch_2x1_5kw_switch_2
        hold_action:
          action: more-info
        icon: 'mdi:arrow-up-bold-box-outline'
        name: Ouvrir les volets
        show_icon: true
        show_name: true
        tap_action:
          action: toggle
        type: button
      - entity: switch.fibaro_system_fgs222_double_relay_switch_2x1_5kw_switch
        hold_action:
          action: more-info
        icon: 'mdi:arrow-down-bold-box'
        name: Fermer les volets
        show_icon: true
        show_name: true
        tap_action:
          action: toggle
        type: button
    type: horizontal-stack
type: vertical-stack

It gives me the nice panel below :
2020-06-03 20_46_26-Aperçu - Home Assistant

But now, I would like to change the text below the top right button. It switches on and off the light in my garage, but the translation in french is not relevant. It states “Inactif” for Off and “On” for On. I would like to change the text displayed to “Eteint” while off and “Allumé” while on.
I tried to use a binary sensor instead, but then I can’t click on the icon to toggle the light. So I need to keep the switch instance, but I can’t find a way to customize it so that it says Eteint or Allumé.

Is is possible to change this state text ?

Thanks

Posts: 2

Participants: 2

Read full topic

Viewing all 106920 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>