I have two entities: binary sensor A (possible values on/off) and history_stats sensor B (possible value 0, 1, 2, 3…).
Is it possible to make a group entity G by using A and B such that:
G is on: if A is on or B > 0
G is off: otherwise
Thanks
3 posts - 2 participants