This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Observer; | |
use App\Models\MyModel; | |
class MyModelObserver | |
{ | |
public function retrieved(MyModel $myModel) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Following is the configuration for adding WAN UPNP and binary Ping sensors along with uptime cards. | |
# Using default History settings and no sensor_templates. | |
# Every option to tweak it. | |
# Please note it might not be the correct ethical nor technical choice pinging Googles DNS. | |
# configuration.yaml binary_sensors for ping | |
# NB: Update core if you don't see them after adding them | |
binary_sensor: | |
- platform: ping |