hass-virtual
hass-virtual copied to clipboard
second entity for sensor?
Hi, is it possible to add a second (or third) entity to sensor for creating temp/hum/batt sensor?
Thanks!
Hi, I create separate sensor for each type an then place them into same Area:
sensor:
# ESP8266_AirSensor_1
- platform: virtual
name: '!babi co2'
class: carbon_dioxide
initial_value: 0
initial_availability: false
- platform: virtual
name: '!babi temp'
class: temperature
initial_value: 0
initial_availability: false
- platform: virtual
name: '!babi humi'
class: humidity
initial_value: 0
initial_availability: false

Looks great - but this are all separate entities without "assign" to a device , right?
I would like to have a device like virtual "fan" with different entities/attributes for sorting the devices. I have many MQTT sensors with temp/hum/batt (as sample) - and would be nice to have for each hardware device one device in HA using this virtual devices.