Api for getting information about the current Dominion Smart Pricing Plan day
This currently only works for dominion power in Virginia
npm install dom-smart-plan
var smartPlan = require('dom-smart-plan');
smartPlan.today().then(console.log)
All methods currently return a Promise with an argument of {designation:("A"|"B"|"C"|null)}
Status for today
Returns: Promise
Status for tomorrow
Returns: Promise
Gets the status for n number of days away
Parameters
days: String | int
, can be negative
Returns: Promise
Gets the status for based on date
Parameters
date: Date
Returns: Promise