usda-hass-config/python_scripts/weigh-bin-1.py

3 lines
136 B
Python

tag_id = data.get("tag_id")
service_data = {"entity_id": input_number.bin1a-weight, "value": }
hass.services.call("input_number", "set")