Thijs-90
(Thijs 90)
September 27, 2023, 9:30am
1
Hello all,
I can’t find the answer on google or in the forum because I don’t know a good searching term.
But is it possible to move a entity to anoter entity? I read the room temperature with a zigbee device and I want that room temperature to another entity. It is possible in HA to set a fixed value to an entity but I don’t want a fixed value.
tom_l
September 27, 2023, 9:33am
2
Do you mean you want to add that entity to another existing device?
If so, no that is not possible.
You can group together whatever entities you want in an entities card though.
Thijs-90
(Thijs 90)
September 27, 2023, 11:28am
3
Yes that’s what I want, but unfortunately that is not possible.
It is also not possible to make HA an ModBus slave device?
tom_l
September 27, 2023, 1:33pm
4
I don’t think so, but I don’t use modbus.
Thijs-90
(Thijs 90)
October 3, 2023, 8:12pm
5
I found in another topic the solution.
I get the same error. Trying to choose an input number instead of a value but it doesn’t help. I have some tv02 thermostats here where I can set a specific boost time . I want to enter a number in the dashboard i.e. 100 and than the thermostat should boost for 100 seconds. This is my automation:
alias: tv02 automation
description: ""
trigger:
- platform: state
entity_id:
- input_number.tv02
condition: []
action:
- device_id: b1e9e4be42ddac02bb6d0e22a8a174f9
domain: number
…
tom_l
October 3, 2023, 8:14pm
6
That is completely unrelated to the question you asked?
Thijs-90
(Thijs 90)
October 3, 2023, 8:43pm
7
Maybe I didn’t ask the question quite right. But in this case;
alias: tv02 automation
description: ""
trigger:
- platform: state
entity_id:
- input_number.tv02
condition: []
action:
- service: number.set_value
data:
value: "{{ states('input_number.tv02') | float(0) }}"
target:
entity_id: number.thermostat_wz_boost_timeset_countdown
mode: single
The “input_number.tv02” moves to the “number.thermostat_wz_boost_timeset_countdown”. That’s exactly what I want. Entity 1 to entity 2. And for my case I changed the “input_number.tv02” to the room temperature sensor.
tom_l
October 3, 2023, 8:44pm
8
Yeah that’s not adding an entity to a device. That is setting the value of one entity to another.