Skip to content

Instantly share code, notes, and snippets.

@zubir2k
zubir2k / gasconsumption.md
Last active August 30, 2025 21:47
Gas Consumption Based on Cooker Hood

🔥 Gas Consumption based on Cooker Hood

Requirement

  • Power monitoring switch (Wifi/Zigbee) installed to Cooker Hood
  • Assumption: Current above 40watt is considered running (adjust accordingly)

What to adjust

  • sensor.cooker_hood_power
  • float > 40 (change this to the current value that matched with cooker hood in running state)
@AalianKhan
AalianKhan / Adhan.yaml
Last active October 19, 2024 22:44
Play the adhan on selected speakers while also pausing media players of your choice. You can also add islamic month sensor to play suhoor and iftar dua. You can also optionally disable Fajr adhan.
# MIT License
#
# Copyright (c) 2024 Aalian Khan
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions: