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

Use local image for new Lovelace dashboard in sidebar?

$
0
0

@ronschaeffer wrote:

I haven’t been able to find this on the forum or in the documentation.

Is there a way to use a locally stored image for the sidebar icon of a Lovelace dashboard (as of 0.107), for example in the same way that you might use entity_picture: for an entity icon in a card?

Thanks!

Posts: 1

Participants: 1

Read full topic


Does a sub-script 'inherit' a variable from a calling script?

$
0
0

@Mariusthvdb wrote:

trying to cut down on code, I hoped this would be valid, but not sure so please have a look?

      - service: script.notify_github #_update   <--- had the 2 scripts independently before, see following commented script
        data_template:
          repo: >
            {{state_attr(trigger.event.data.entity_id,'name')}}
          url: >
            {{state_attr(trigger.event.data.entity_id,'latest_release_url')}}
#
#      - service: script.persistent_notify_github_update
#        data_template:
#          repo: >
#            {{state_attr(trigger.event.data.entity_id,'name')}}
#          url: >
#            {{state_attr(trigger.event.data.entity_id,'latest_release_url')}}

script:
  notify_github:
    sequence:
      - service: script.notify_github_update    #<----these script now get the variable from above, but need to pass them on, do they?
      - service: script.persistent_notify_github_update

  notify_github_update:
    sequence:
      - condition: state
        entity_id: inut_boolean.notify_system
        state: 'on'
      - service: notify.system
        data_template:
          title: >
            Github update for {{repo}}
          message: >
           {{repo}} was updated to {{url.split('tag/')[1]}}.
           Visit the release page {{url}} to download.
           Download the [latest release]({{url}})

  persistent_notify_github_update:
    sequence:
      - condition: state
        entity_id: input_boolean.persistent_notification_create
        state: 'on'
      - service: persistent_notification.create
        data_template:
          title: >
            Github update for {{repo}}
          message: >
          ![image](/local/various/github_icon.png)  {{repo}} was updated to {{url.split('tag/')[1]}}.
           Visit the release page {{url}} to download.
           Download the [latest release]({{url}})
          notification_id: '{{repo}}'

thanks for having a look

Posts: 6

Participants: 4

Read full topic

Combining Nabu Casa with Lovelace iFrames accessing Node Red HTTP end-points?

$
0
0

@Mats_Karlsson wrote:

Is there a way to have iframes in the Lovelace frontend access Node Red HTTP end-points through Nabu Casa? I’m running the official Node Red addon.

Posts: 1

Participants: 1

Read full topic

What is the best option for saving a rolling 24 hour temperature?

$
0
0

@Hellis81 wrote:

I tried last night to create a dynamic attribute name with the temperature as the value but it didn’t work.
Then I found a post here saying it can’t be done without python :confused:

So how can I save 24 hours of weather temperature?
I need to have this data easily accessible since I want to output it on a MAX7219 8 bit display, something like temperature now and temperature say 5 hours ago.
As far as I have managed to google it’s not easily accessible in the history database, so that is why I thought I could just save it in an entity.
Since this doesn’t work:

customizer.set_attribute
  entity_id: input_text.text1
  attribute: now().hour
  value: 5

I assume I need some if, elseif to set the attribute name (?), but is that possible?
Can I break it up something like this?

customizer.set_attribute
  entity_id: input_text.text1
  if(now().hour == 0) attribute: "0";
  if(now().hour == 1) attribute: "1";
  ....
  ....
  value: 5

My hope is that it will work in an automation that runs every hour.

Posts: 9

Participants: 4

Read full topic

AdGuard says it works but no ads are blocked

$
0
0

@Eltjo_de_Waard wrote:

Hi!

I’m running AdGuard add-on. Hassio is in Docker in Ubuntu Server.

To get AdGuard running I followed the steps here: Reddit Post

I thought I’ve had everything correct. AdGuard is up and running:

Router with correct DNS:

But I looks like nothing is getting blocked! Also when I go to https://adguard.com/en/test.html it says “AdGuard is not enabled :(”

So do you have any idea where I go wrong…?

Kind regards,

Posts: 12

Participants: 2

Read full topic

Help setting up TTS with Squeezelite/LMS

$
0
0

@Skye wrote:

I’ve just installed an LMS server on my rpi4 (also my HA server).

I’ve installed DietPi and Sqeezelite on an old rpi1 which has a speaker hooked up. Spotify Connect works flawlessly (to my great surprise :wink: ).

I would like to add text-to-speech notifications to my automations which are then played on that rpi1. Could anyone point me in the right direction on how to do this? Any docs/guides you’ve used? I’d like to use a local solution, is marytts still used a lot nowadays? Any other engine that I can run on my rpi4 server?

Alternatively, how is your TTS setup configured?

Thanks!

Posts: 1

Participants: 1

Read full topic

Two conditions in one condition - tricky part

$
0
0

@km4lin wrote:

Hello,
from a few hours I’m trying to make the conditions which allows me to do this:
if trigger.from state and trigger.to_state doesnt’ have a word ‘ONLINE’ in state then it’s true

or the other way:
if trigger.from_state is ‘ONLINE’ and trigger.to_state is ‘BOOST ONLINE’ than it’s false
else if trigger.from_state is ‘BOOST ONLINE’ and trigger.to_state is ‘ONLINE’ than it’s false
else is true
for example:

         - condition: template
            value_template: >-
              {% if states('trigger.from_state') != "ONLINE" and states('trigger.to_state') != "BOOST ONLINE" %}
                true
              {% elif states('trigger.to_state') != "ONLINE" and states('trigger.from_state') != "BOOST ONLINE" %}
                true
              {% else %}
                false
              {% endif %}

but it doesn’t work as expected. Where I’m wrong?
Please help :frowning:

Posts: 6

Participants: 3

Read full topic

How to maintain values until entity appears again

$
0
0

@aristosv wrote:

I am using the code below to show the status of my front door sensor in Home Assistant.

title: DOORS
icon: 'mdi:door'
cards:

- type: button
  entity: binary_sensor.entrance_door_sensor
  icon: 'mdi:door'
  icon_height: 50px
  icon_width: 50px

- type: horizontal-stack
  cards:
  - type: gauge
    name: Battery
    unit: '%'
    entity: sensor.entrance_door_battery
    min: 0
    max: 100
    severity:
     green: 100
     yellow: 50
     red: 20
  - type: gauge
    name: Lux
    unit: 'Lux'
    entity: sensor.entrance_door_lux
    min: 0
    max: 100
    severity:
     green: 100
     yellow: 50
     red: 20

and this is the result

My problem is that after a few minutes, the sensor goes into standby mode to save battery, and the battery value and lux value are not available any more, until the door opens again, and the sensor sends data to home assistant again.

So it becomes like this

Is there a way to maintain the values, until the door opens again, and new data is sent? Or maybe replace the yellow squares with something…nicer?

Thanks

Posts: 3

Participants: 2

Read full topic


Install package in Docker

$
0
0

@grossmann wrote:

I need to install packages inside a container, where HA is installed
So I did following to acces the Container command line :

sudo docker exec -t -i homeassistant /bin/bash

And then I tried following :

bash-5.0# RUN apk update
bash: RUN: command not found
bash-5.0# apt-get update
bash: apt-get: command not found
bash-5.0# RUN apt-get update
bash: RUN: command not found

Is it possible to install something inside a container ?
In fact, I need “sendip” to be runned from my container. It’s OK outside :

pi@raspberrypi:~ $ sudo apt-get install sendip
Reading package lists... Done
Building dependency tree
Reading state information... Done
sendip is already the newest version (2.5-7).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

Posts: 3

Participants: 2

Read full topic

Missing Unique ID Yeelight

$
0
0

@datmos wrote:

Hi there,

I have a RGB Yeelight Bulb that i’m trying to pair it with Hassio, and i did that easy :slight_smile:

But, when i go to Entities section, and when i try to open the Configuration window of the entity it says that there is no unique ID for this entity.

image

image

For that reason i can’t use this bulb in automations for example. I know that bulb was working well with automations some time ago (and with other hassio version). But i don’t know what to do now.

Some suggestions?

Thanks !!

Posts: 2

Participants: 2

Read full topic

Best Panel OS Options (Pi4 / x86 Win10)

$
0
0

@HA5525 wrote:

I’m new around here and I’m getting the hang of the Home Assistant backend and automations. I have had some success with some amazon Fire 7" tablets using Fully Kiosk browser and I can move forward on those in some rooms.

My main wall panel in the living room is an x64 Toshiba 10" tablet currently running Windows 10 and HomeSeer HSTouch. (I’m moving away from HomeSeer to Home Assistant)

I also have an outside 32" tv that I want to use as a Home Assistant outdoor display for things like time and temperature. RPi4.

I’m looking for options for both the x86 10" tablet and the Raspberry Pi 4. From my experience with the Fully Kiosk browser on the Fire tablets I think I need something that will boot directly to a full screen browser and load up Home Assistant full screen. I believe I can work on the screens in Home Assistant but I’m not sure what the best option is for software.

For the x86 10" tablet keep Windows 10 on it and figure out how to automatically launch a full screen browser? Slick it to Ubuntu? I’m really not sure. Windows 10 brings some os maintenance that I would like to get away from but if I need to stick with it that is fine. I’d prefer some kind of hands off appliance os.

For the Raspberry Pi 4 I’d like to be able to turn it on and after the boot process have the hdmi output showing Home Assistant on my tv. I’m not sure how to accomplish this. Is there an sd card image that had all this built in terms of launching a full screen browser on boot?

Since the tv will have no keyboard / mouse or touch screen I wll also need to figure out how to rotate the screens around from time to temperature etc.

Thank you for any advice.

Posts: 1

Participants: 1

Read full topic

Home Assistant - Alexa - Broadlink RM

$
0
0

@marino wrote:

Hi guys!
This text will be hidden
I'm working on the integration of my HA with Alexa. I have just done a lot of things,  but now i am fighting against my exterior blind.

My blinds are managed by broadlink and I have configured 3 different switches (each with ON command and OFF command to open and close blind)

I have included entities in my smart_home section of configuration.xml but on Alexa there is no way to manage both command :thinking:

include_entities:
        - switch.sala
     entity_config:
      switch.sala:
        name: Tenda salone
        description: Tenda sala
        display_categories: EXTERIOR_BLIND

What is my mistake? Or how can i overcome this situation?

Posts: 3

Participants: 2

Read full topic

NUT Sensor has no data, unable to set up

$
0
0

@naamah75 wrote:

I’m trying to configure the NUT add-on but I got this error:

NUT Sensor has no data, unable to set up

The log from the add-on page is the following:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] nut: applying... 
[fix-attrs.d] nut: exited 0.
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing... 

-----------------------------------------------------------
 Add-on: Network UPS Tools
 Manage battery backup (UPS) devices
-----------------------------------------------------------
 Add-on version: 0.1.2
 You are running the latest version of this add-on.
 System: Ubuntu 18.04.4 LTS  (amd64 / qemux86-64)
 Home Assistant Core: 0.107.7
 Home Assistant Supervisor: 214
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 
Log level is set to DEBUG
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] nut.sh: executing... 
[14:07:22] INFO: Setting mode to netserver...
[14:07:22] INFO: Connected USB devices:
Bus 002 Device 003: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[14:07:23] INFO: Generating /etc/nut/upsd.users...
[14:07:24] INFO: Configuring user: igor
[14:07:25] DEBUG: Password SHA1: B1D4FBD6BBF5E2CF35287C0399415C8CE2837A02
[14:07:26] DEBUG: Requested API resource: https://api.pwnedpasswords.com/range/B1D4F
[14:07:26] DEBUG: API HTTP Response code: 200
[14:07:26] INFO: Password is NOT in the Have I Been Pwned database! Nice!
[14:07:30] INFO: Configuring Device named apcups...
[14:07:31] INFO: Starting the UPS drivers...
Network UPS Tools - UPS driver controller 3.8.0-3220-g866b921892
   0.000000	Starting UPS: apcups
Network UPS Tools - Generic HID driver 0.41 (3.8.0-3220-g866b921892)
USB communication driver 0.33
Using subdriver: APC HID 0.96
[cont-init.d] nut.sh: exited 0.
[cont-init.d] nutclient.sh: executing... 
[cont-init.d] nutclient.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[14:07:34] INFO: Starting the UPS information server...
Network UPS Tools upsd 3.8.0-3220-g866b921892
   0.000000	fopen /var/run/nut/upsd.pid: No such file or directory
   0.001441	listening on 0.0.0.0 port 3493
   0.002866	Connected to UPS [apcups]: usbhid-ups-apcups
[14:07:34] INFO: Starting the UPS monitor and shutdown controller...
Network UPS Tools upsmon 3.8.0-3220-g866b921892
   0.000000	fopen /var/run/upsmon.pid: No such file or directory
   0.001581	Using power down flag file /etc/killpower
   0.002322	UPS: apcups@localhost (master) (power value 1)
   0.002985	debug level is '1'
   0.015092	Trying to connect to UPS [apcups@localhost]
   0.101264	User upsmonmaster@127.0.0.1 logged into UPS [apcups]
   0.017475	Logged into UPS apcups@localhost

Where I’m wrong?

Posts: 2

Participants: 2

Read full topic

The number doesn't match the graph - what am I missing?

$
0
0

@stetho wrote:

I’ve been fiddling with this all morning but I can’t see what I’m missing. Being at home all this time means I’m adding things to HAss that I’ve meant to for ages. So one of those things is a sensor to count how many people are at home. I’ve got this based on things I’ve found on here and with Google which seems to work fine…

- platform: template
  sensors:
    people_away:
      entity_id:
        - person.steve
        - person.[wife]
        - person.[child1]
        - person.[child2]
        - person.[child3]
      friendly_name: "People Away"
      unit_of_measurement: 'away'
      value_template: >
        {{ states.person | selectattr('state','ne','home') | list | count }}

Obviously the names are edited for this post but it would be so much easier if they were their actual names. Anyway - the front end currently shows this as the wife has gone to work (she’s a key worker before anyone complains).

Screenshot 2020-04-03 at 13.21.31

Exactly what you’d expect. But if I click on either of them I get this

This line never budges. Another weird thing I’ve noticed is that it says “14 hours” which I assumed was the last time HA detected a state change. However, 14 hours ago (11:30pm local time) everyone was at home and it correctly said 5. [wife] left at 8am when the UI updated the number.

It’s not important, it’s just annoying. Do I need to specifically tell something (Recorder, History etc) to record this data? That isn’t a logical conclusion because it’s obviously recording 5 and 0 somewhere but I’m running out of things to prod.

Thanks

Steve

Posts: 9

Participants: 3

Read full topic

Channel icons like material designs

$
0
0

@aristosv wrote:

This dashboard uses buttons to run a script, which sends infrared commands to my set-top box to change the channel.

I would like to replace the existing icons with the actual channel icon.

I know it’s a long-shot, but any chance these channel icons exist somewhere, in consistent form, like the ones in Material Design Icons?

Thanks

Posts: 2

Participants: 2

Read full topic


Cant select/map attributes 'title' in template

$
0
0

@Mariusthvdb wrote:

using

{% set noti = states.persistent_notification
   |selectattr('state','eq','notifying')|map(attribute='entity_id')|list %}
{{noti}} 

works fine and returns a list of ‘on’ notifications with the entity_id. However, I want the show a list of titles, using

{% set noti = states.persistent_notification
   |selectattr('state','eq','notifying')|map(attribute='title')|list %}
{{noti}} 

which does nothing (shows ‘Undefined’ in the list for the number of ‘on’ notifications)

Ive checked a current persistent notification itself,

{{states.persistent_notification.rss_feed_home_assistant_0_107.attributes.title}}

which works fine:

this is the full attributes list of the notification:

had a long day of puzzling, so must be overlooking the obvious… please have a look? thanks!

Posts: 5

Participants: 2

Read full topic

TKB TZ65d - multi level switch wrongly reported in home assistant interface

$
0
0

@michmtt wrote:

Hi,

I have a TKB TZ65D, it is integrated in home assistant, but when I switch on the light from the switch, it reports brightness=8 (in HA), when I switch off from the switch it report brightness=242 (in HA).
if I only control from the interface of home assistant, no issues, only when I use both the physical switch and interface it gets all mixed up.
I can’t figure out what can be done at config level.

log when I switch on:

2020-04-03 15:09:27.917 Info, Node023, UPDATE_STATE_NODE_INFO_RECEIVED from node 23
2020-04-03 15:09:27.917 Detail, Node023, AdvanceQueries queryPending=0 queryRetries=0 queryStage=Dynamic live=1
2020-04-03 15:09:27.917 Detail, Node023, QueryStage_Dynamic
2020-04-03 15:09:27.917 Detail, Node023, Queuing (Send) SwitchMultilevelCmd_Get (Node=23): 0x01, 0x09, 0x00, 0x13, 0x17, 0x02, 0x26, 0x02, 0x25, 0x6b, 0x9a
2020-04-03 15:09:27.917 Detail, Node023, Queuing (Query) Query Stage Complete (Dynamic)
2020-04-03 15:09:27.917 Detail,
2020-04-03 15:09:27.917 Info, Node023, Sending (Send) message (Callback ID=0x6b, Expected Reply=0x04) - SwitchMultilevelCmd_Get (Node=23): 0x01, 0x09, 0x00, 0x13, 0x17, 0x02, 0x26, 0x02, 0x25, 0x6b, 0x9a
2020-04-03 15:09:27.925 Detail, Node023,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2020-04-03 15:09:27.925 Detail, Node023,   ZW_SEND_DATA delivered to Z-Wave stack
2020-04-03 15:09:27.942 Detail, Node023,   Received: 0x01, 0x07, 0x00, 0x13, 0x6b, 0x00, 0x00, 0x02, 0x82
2020-04-03 15:09:27.942 Detail, Node023,   ZW_SEND_DATA Request with callback ID 0x6b received (expected 0x6b)
2020-04-03 15:09:27.942 Info, Node023, Request RTT 24 Average Request RTT 24
2020-04-03 15:09:27.942 Detail,   Expected callbackId was received
2020-04-03 15:09:27.953 Detail, Node023,   Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x17, 0x03, 0x26, 0x03, 0x03, 0xc0
2020-04-03 15:09:27.953 Detail,
2020-04-03 15:09:27.953 Info, Node023, Response RTT 35 Average Response RTT 34
2020-04-03 15:09:27.953 Info, Node023, Received SwitchMultiLevel report: level=3
2020-04-03 15:09:27.953 Detail, Node023, Refreshed Value: old value=94, new value=3, type=byte
2020-04-03 15:09:27.953 Detail, Node023, Changes to this value are not verified
2020-04-03 15:09:27.953 Detail, Node023,   Expected reply and command class was received
2020-04-03 15:09:27.953 Detail, Node023,   Message transaction complete
2020-04-03 15:09:27.953 Detail,
2020-04-03 15:09:27.953 Detail, Node023, Removing current message
2020-04-03 15:09:27.953 Detail, Node023, Notification: ValueChanged
2020-04-03 15:09:27.955 Detail, Node023, Query Stage Complete (Dynamic)
2020-04-03 15:09:27.955 Detail, Node023, AdvanceQueries queryPending=0 queryRetries=0 queryStage=Configuration live=1
2020-04-03 15:09:27.955 Detail, Node023, QueryStage_Configuration
2020-04-03 15:09:27.955 Detail, Node023, QueryStage_Complete
2020-04-03 15:09:27.955 Warning, CheckCompletedNodeQueries m_allNodesQueried=0 m_awakeNodesQueried=1
2020-04-03 15:09:27.955 Warning, CheckCompletedNodeQueries all=0, deadFound=0 sleepingOnly=1
2020-04-03 15:09:27.955 Detail, Node023, Notification: NodeQueriesComplete

log when I switch off:

2020-04-03 15:10:47.562 Info, Node023, UPDATE_STATE_NODE_INFO_RECEIVED from node 23
2020-04-03 15:10:47.562 Detail, Node023, AdvanceQueries queryPending=0 queryRetries=0 queryStage=Dynamic live=1
2020-04-03 15:10:47.562 Detail, Node023, QueryStage_Dynamic
2020-04-03 15:10:47.562 Detail, Node023, Queuing (Send) SwitchMultilevelCmd_Get (Node=23): 0x01, 0x09, 0x00, 0x13, 0x17, 0x02, 0x26, 0x02, 0x25, 0x6c, 0x9d
2020-04-03 15:10:47.562 Detail, Node023, Queuing (Query) Query Stage Complete (Dynamic)
2020-04-03 15:10:47.562 Detail,
2020-04-03 15:10:47.562 Info, Node023, Sending (Send) message (Callback ID=0x6c, Expected Reply=0x04) - SwitchMultilevelCmd_Get (Node=23): 0x01, 0x09, 0x00, 0x13, 0x17, 0x02, 0x26, 0x02, 0x25, 0x6c, 0x9d
2020-04-03 15:10:47.570 Detail, Node023,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2020-04-03 15:10:47.570 Detail, Node023,   ZW_SEND_DATA delivered to Z-Wave stack
2020-04-03 15:10:47.587 Detail, Node023,   Received: 0x01, 0x07, 0x00, 0x13, 0x6c, 0x00, 0x00, 0x03, 0x84
2020-04-03 15:10:47.587 Detail, Node023,   ZW_SEND_DATA Request with callback ID 0x6c received (expected 0x6c)
2020-04-03 15:10:47.587 Info, Node023, Request RTT 24 Average Request RTT 24
2020-04-03 15:10:47.587 Detail,   Expected callbackId was received
2020-04-03 15:10:47.597 Detail, Node023,   Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x17, 0x03, 0x26, 0x03, 0x5e, 0x9d
2020-04-03 15:10:47.597 Detail,
2020-04-03 15:10:47.597 Info, Node023, Response RTT 34 Average Response RTT 34
2020-04-03 15:10:47.597 Info, Node023, Received SwitchMultiLevel report: level=94
2020-04-03 15:10:47.597 Detail, Node023, Refreshed Value: old value=3, new value=94, type=byte
2020-04-03 15:10:47.597 Detail, Node023, Changes to this value are not verified
2020-04-03 15:10:47.597 Detail, Node023,   Expected reply and command class was received
2020-04-03 15:10:47.597 Detail, Node023,   Message transaction complete
2020-04-03 15:10:47.597 Detail,
2020-04-03 15:10:47.597 Detail, Node023, Removing current message
2020-04-03 15:10:47.597 Detail, Node023, Notification: ValueChanged
2020-04-03 15:10:47.601 Detail, Node023, Query Stage Complete (Dynamic)
2020-04-03 15:10:47.601 Detail, Node023, AdvanceQueries queryPending=0 queryRetries=0 queryStage=Configuration live=1
2020-04-03 15:10:47.601 Detail, Node023, QueryStage_Configuration
2020-04-03 15:10:47.601 Detail, Node023, QueryStage_Complete
2020-04-03 15:10:47.601 Warning, CheckCompletedNodeQueries m_allNodesQueried=0 m_awakeNodesQueried=1
2020-04-03 15:10:47.601 Warning, CheckCompletedNodeQueries all=0, deadFound=0 sleepingOnly=1
2020-04-03 15:10:47.601 Detail, Node023, Notification: NodeQueriesComplete

Thanks for your help!
Michel

Posts: 1

Participants: 1

Read full topic

Read only views for switches, lights, thermostat etc

$
0
0

@jaminh wrote:

With the addition of multiple dashboards I have been working on setting up a “guest” dashboard and I think it would be useful to have a read only view of some of the entities. I would like to be able to display the state of various switches and lights or the current thermostat settings but not allow them to be changed, not so much because I don’t trust my guests to not abuse the system but to reduce the likelihood of accidental changes while scrolling through things. Should I just go through and make template sensors for all the states I want to display? Is there some way I could set the actions for the entities to some kind of NO-OP service? Is this something I should accomplish with a custom card? I was just wondering if anyone else has tried doing something similar and what approach they took.

Posts: 3

Participants: 3

Read full topic

ONVIF vs Generic Cameras in HA

$
0
0

@ptdalen wrote:

I see that in the upcoming .108 release that there is an update to ONVIF to allow HA to use the still image from the camera vs HA having to generate one. This seems like it might have some use.

Right now I have 4 cameras all set up as generic, and they work fine. But it’s always fun to try to improve. Never messed with the ONVIF camera component.

For those using ONVIF, what are the Pro’s/Cons?

Posts: 1

Participants: 1

Read full topic

Cannot set icon variable in Button Card

$
0
0

@aristosv wrote:

In the button card documentation it says I can use the variable “icon” to overwrite icon or entity picture. So I did this:

- type: vertical-stack
  title: Cartoons
  cards:
  
  - type: button
    entity: script.disneyxd
    icon: /local/disney_xd.jpg
    icon_height: 50px
    icon_width: 50px
    tap_action:
     action: call-service
     service: script.turn_on
     service_data:
      entity_id: script.disneyxd

and placed “disney_xd.jpg” inside the “www” folder

The result was that the default icon disappeared.
What I’m I doing wrong here?

Posts: 3

Participants: 2

Read full topic

Viewing all 106133 articles
Browse latest View live


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