Skip to content

Instantly share code, notes, and snippets.

View shamasis's full-sized avatar

Shamasis Bhattacharya shamasis

View GitHub Profile
@shamasis
shamasis / configuration.yaml
Last active February 23, 2025 17:26 — forked from rpanachi/command_line.yaml
Tuya api script (for home assistant) (India) (All Sensors)
command_line:
sensor:
name: Meter PC321-W-TY
unique_id: meter_PC321_W_TY
command: 'python3 /config/tuyapc321.py d7978c72b206429cedo10z'
device_class: power
state_class: measurement
unit_of_measurement: W
scan_interval: 10
json_attributes: