Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95347

I need a "dummy sensor" that can be assigned a value from API

$
0
0

@flemmingss wrote:

Hi.

  • For a “on/off” sensor this can be done with input_boolean by calling input_boolean (toggle, turn_on, turn_off)

  • For a “date and time” sensor this can be done with input_datetime by calling calling input input_datetime.set_datetime (date, time, datetime)

But what I no need is to set a sensor value (like temperature, cpu usage, drive space ect).
I found input_numbrer, but it looks like this is more a way to change value from GUI, and I can’t see that it is callable (may be because I have non?)

I also found Template Sensor, but for what I see that only support “sensors which get their values from other entities”, and that is not the case here.

Can anyone lead me in the right direction?

Posts: 11

Participants: 6

Read full topic


Viewing all articles
Browse latest Browse all 95347

Trending Articles



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